Torsten Dreyer wrote: > While iterating through the source files, trying to eliminate the warnings, I > just found this precious line of code (some more of them in the same file) > > *((float*)&buf[length]) = sg_bswap_32(*(uint32_t*)&val); > > The beauty of pointers - poor Java, C# et al developers. You will never see > something alike ;-) > > Torsten The worst thing about that line is that it is broken :) The fix is checked in. I used to think that a lot of the warnings produced by -Wall were stupid, but I'm now convinced that we should make -Wall -Werror the default for gcc.
Tim ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel