Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: Sun May 05 00:18:50 CEST 2024

Total time taken to generate the page: 0.01864 seconds