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 » PLATFORM_X11 warnings
Re: PLATFORM_X11 warnings [message #33420 is a reply to message #33417] Wed, 03 August 2011 12:37 Go to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
in my upp, i have completely removed the part in
config.h
#ifdef flagGUI
	#define PLATFORM_X11 1
#endif


nothing touching GUI and the like should sit in config.h/Core anymore. PLATFORM_WIN32, PLATFORM_POSIX, PLATFORM_LINUX defined in config.h, have, at first, nothing to do with GUI. flagGUI / PLATFORM_X11 neither are evaluated anywhere in Core/CtrlCore/CtrlLib. flagGUI simply indicates to TheIDE how to specify compile/linkage flags for the desired compiler, there is a differece for gui and non gui environment. this is luckily hidden.

the graphic backends define their presence flags independantly
GUI_WIN32, GUI_X11, GUI_FB, GUI_SDL, GUI_WINGL, ..

so the removing of this section is pretty justified, since the flag is later defined in a place, where it corrisponds to.

[Updated on: Thu, 04 August 2011 11:57]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: [DISCUSSION] Add 'complex' datatype, to Value too
Next Topic: Polymorphic Array doubt
Goto Forum:
  


Current Time: Mon Aug 25 13:02:57 CEST 2025

Total time taken to generate the page: 0.09600 seconds