From: Sam S. <sam...@gm...> - 2005-12-22 12:47:07
|
Here's the exact warning: Tiki.framework/PrivateHeaders/hid.h: In constructor 'Tiki::Hid::Event::Event()': Tiki.framework/PrivateHeaders/hid.h:126: warning: 'Tiki::Hid::Event::port' will be initialized after Tiki.framework/PrivateHeaders/hid.h:120: warning: 'int Tiki::Hid::Event::key' Tiki.framework/PrivateHeaders/hid.h:113: warning: when initialized here It only seems to occur when building TikiBlap, not TikiSquares. I think it might have to do with TikiBlap not using pre-compiled headers, I'll play around it with it again after work, but changing the header seemed to satisfy it for now. -Sam On Dec 22, 2005, at 7:24 AM, Sam Steele wrote: > Warning: "port" is initialized before "key" when declared here. I > got tired of seeing it over and over again :-P I guess it had to > do with the order of the variables on the default constructor, but > it was easier to cut/paste vertically rather than horizontally so I > moved it in the class. > > -Sam > > On Dec 22, 2005, at 12:01 AM, Dan Potter wrote: > >> This one gave me a double take. :) What was g++ doing there? >> >> On Dec 21, 2005, at 6:45 PM, cadcdev-svn- >> co...@li... wrote: >> >>> Tiki: Move port before key in declaration so g++ stops complaining >> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through >> log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD >> SPLUNK! >> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >> _______________________________________________ >> cadcdev-tiki mailing list >> cad...@li... >> https://lists.sourceforge.net/lists/listinfo/cadcdev-tiki > |