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


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to