bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/190] gas should accept constant suffixes "u", "l", "ul", "ll",


From: bje at sources dot redhat dot com
Subject: [Bug gas/190] gas should accept constant suffixes "u", "l", "ul", "ll", "ull"
Date: 10 Jun 2004 05:11:06 -0000

------- Additional Comments From bje at sources dot redhat dot com  2004-06-10 
05:11 -------
The following source files illustrate a clean(ish) solution.  The one macro 
expands its argument correctly in both cases. 
 
[foo.h] 
#ifdef __ASSEMBLER__ 
#define UL_CONST(n) n 
#else 
#define UL_CONST(n) n##ul 
#endif 
 
[foo.c] 
#include "foo.h" 
UL_CONST (10) 
 
[foo.S] 
#include "foo.h" 
UL_CONST (10) 

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=190

------- 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]