Home » Developing U++ » U++ Developers corner » MSC 9 Compilation Warnings -- Fix
|
Re: MSC 9 Compilation Warnings -- Fix [message #13966 is a reply to message #13962] |
Mon, 04 February 2008 00:27  |
 |
mirek
Messages: 14258 Registered: November 2005
|
Ultimate Member |
|
|
indiocolifa wrote on Sun, 03 February 2008 15:04 | I'm using U++ 2008 Beta 1 and I've already fixed some compilation warnings with MS C/C++ 9.0.
Here are the patches (all with _MSC_VER > 1400) since I'm using Visual C++ 2008, I don't know what happens in previous versions of the compiler.
- /NOOPT:WIN98 is obsolete for the linker in MSC 9.0, I think it should be removed from the build settings for this compiler.
- In Core/Ol_set.CPP , the file starts with:
#pragma BLITZ_PROHIBIT
this is reported of course as unknown pragma.
should be #define ???
|
Nope, it really should be #pragma.
It is understood by theide build process.
Quote: |
- In CtrlLib/ChWin32.cpp, MSC says tmschema.h is obsolete, I've replaced:
#include <uxtheme.h>
#include <tmschema.h>
by
#include <uxtheme.h>
#ifdef _MSC_VER
#if _MSC_VER > 1400 // Visual C > 2005
#include <vssym32.h>
#else
#include <tmschema.h>
#endif
#endif
I'll report more if you want.
|
Well, this one is well known, but was ignored because of backwards compatibility. Anyway, conditional for msc_ver is a good idea!
Mirek
[Updated on: Mon, 04 February 2008 00:29] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue May 13 20:25:41 CEST 2025
Total time taken to generate the page: 0.02963 seconds
|