bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug binutils/11240] New: Windres breaks down with spaces in rc sour


From: Niki W Waibel
Subject: Re: [Bug binutils/11240] New: Windres breaks down with spaces in rc source
Date: Mon, 8 Feb 2010 23:28:18 +0100

hi nick,

i am not sure, if i shall be the recipient of the email below...

niki

On Fri, 05 Feb 2010 14:09:14 +0000 Nick Clifton wrote:
> Hi Niki,
> 
> > metal                       png     DISCARDABLE  "../source/metal.png"
> > "temple of the ancestors"   fxp     DISCARDABLE  "../presets/synthetic
> > environments/temple of the ancestors.fxp"
> >
>  > when compiled with binutils 2.20, I get
>  >
>  > Linker error, could not find resource "metal.pngtempleoftheancesteors"
>  >                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> This is more of a feature than a bug.  What is happening is that windres 
> is concatenating two double-quote enclosed strings into one string, just 
> as a C compiler would do.  So:
> 
>     "foo"
>     "bar"
> 
> is treated as if you had typed:
> 
>     "foobar"
> 
> The simple way around this is to use single quotes for the second 
> string, as in:
> 
>    metal                       png     DISCARDABLE  "../source/metal.png"
>    'temple of the ancestors'   fxp     DISCARDABLE 
> "../presets/syntheticenvironments/temple of the ancestors.fxp"
> 
> 
> Cheers
>    Nick





reply via email to

[Prev in Thread] Current Thread [Next in Thread]