On Tuesday 06 January 2009, CJN Fryer wrote: > Sorry if I'm being dumb - I get the feeling I'm doing a bit of that at the > moment but
> The newline after the parent class colon looks a little unorthodox - is it > maybe one compiler doesn't mind and one does? Nah. We have this idiom everywhere in our code, and C++ is not a whitespace-sensitive language. Just for fun, I took a known working file and stripped all the 0x0A out of it and replaced them with 0x20 (using a hex editor) and it still compiled. src/gui/general/PresetHandlerDialog2.cpp:1:815: warning: extra tokens at end of #include directive src/gui/general/PresetHandlerDialog2.cpp:1:8866: warning: no newline at end of file I realize stripping the newlines is the opposite of what you were worried about, but if that completely chaotic mess doesn't make the compiler barf, I don't think there's any chance an extra newline somewhere would have any effect on anything. Looking at some other stuff at random though, I'm seeing some errors in files I expected to build, and it looks like a missing switch or a missing include somewhere. Looks like a possible cruft problem, so I'm going to dump this dirty old tree and do a fresh checkout and see what happens from there. -- D. Michael McIntyre ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
