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 » Developing U++ » U++ Developers corner » MSC 9 Compilation Warnings -- Fix
MSC 9 Compilation Warnings -- Fix [message #13962] Sun, 03 February 2008 21:04 Go to previous message
indiocolifa is currently offline  indiocolifa
Messages: 49
Registered: January 2008
Location: Argentina
Member
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 ???

- 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.
 
Read Message
Read Message
Previous Topic: Code reformatting
Next Topic: Code reformatter added to TheIDE
Goto Forum:
  


Current Time: Sun May 11 23:25:07 CEST 2025

Total time taken to generate the page: 0.00820 seconds