bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/6714] WindRes 2.18 can't concatenate literal strings anymo


From: nickc at redhat dot com
Subject: [Bug binutils/6714] WindRes 2.18 can't concatenate literal strings anymore?
Date: 11 Feb 2009 14:53:12 -0000

------- Additional Comments From nickc at redhat dot com  2009-02-11 14:53 
-------
Hi Craig,

  I think that you are going to have to post another test case to demonstrate
the problem that you are having.  I tried the following:

  % cat fred.inc
  #define VALUE_AS_TXT "15"

  % cat fred.rc
  #include "fred.inc"

  101 DIALOG DISCARDABLE  0, 0, 186, 95
  BEGIN
     LTEXT           "Value: " VALUE_AS_TXT, -1, 7, 238, 100,  16
     LTEXT           "Value: " "16",         -1, 7, 238, 100,  16
     LTEXT           "Value: 17",            -1, 7, 238, 100,  16
  END

And got this result:

  % windres fred.rc
  LANGUAGE 9, 1

  101 DIALOG MOVEABLE PURE DISCARDABLE 0, 0, 186, 95
  STYLE 0x80880000
  BEGIN
    LTEXT "Value: 15", -1, 7, 238, 100, 16, 0x50020000
    LTEXT "Value: 16", -1, 7, 238, 100, 16, 0x50020000
    LTEXT "Value: 17", -1, 7, 238, 100, 16, 0x50020000
  END


So string literal concatenation is working.

Cheers
  Nick

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6714

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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