On Wed, May 4, 2011 at 11:53 AM, Humdinger <humdingerb@xxxxxxxxxxxxxx> wrote: > Hi François! > > François Revol, Wed, 4 May 2011 11:01:16 +0200: >> There seems to be an issue with the new flag resources (at least I >> think it's due to this): >> >> ResComp1 /Volumes/Data/devel/haiku/trunk/generated-x86- >> gcc4/objects/haiku/x86/common/kits/locale/CountryFlags.rsrc >> <stdin>:1:3: error: invalid preprocessing directive #Flag >> <stdin>:16:3: error: invalid preprocessing directive #Flag >> <stdin>:25:3: error: invalid preprocessing directive #Flag >> >> Forcing a rebuild of rc doesn't seem to be enough to fix this. >> >> It doesn't stop the build though, why doesn't rc return an error in >> this case ? > > Can't answer your question. Wasn't even aware of a CountryFlags.rsrc... > > I was under the (false?) impression rdef files allowed hash-marked > comments. I could remove those from CountryFlags.rdef, but they sure > are handy when looking for a country name when you're not sure about > its code... > According to src/bin/rc/docs/grammar.html you should be able to use single-line (// ...) or stream (/* ... */) C-style comments in rdef files. --Alex