U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Linux - Windows Mt.h/cpp [BUG?]
Linux - Windows Mt.h/cpp [BUG?] [message #1251] Fri, 24 February 2006 19:21
iplayfast is currently offline  iplayfast
Messages: 47
Registered: February 2006
Member
Just starting to use this system in Linux

Mt.h has an
#ifdef PLATFORM_POSIX
where inside it has inline functions for Enter and Leave

So far so good.

Mt.cpp
doesn't have
#ifdef PLATFORM_WIN32
and redefines the functions to be non-inline.


Wow! I just found the #endif autocomment feature. THAT IS SWEET!

In anycase insert #ifdef PLATFORM_WIN32 block inside the #ifdef #ifdef _MULTITHREADED block and that bug is gone.

[Updated on: Tue, 02 May 2006 11:15] by Moderator

Report message to a moderator

Previous Topic: serialize and endians on non-x86 machines [BUG]
Next Topic: String improvements
Goto Forum:
  


Current Time: Thu May 07 06:57:53 GMT+2 2026

Total time taken to generate the page: 0.00436 seconds