bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/5860] New: Error: too many positional arguments


From: apjain at cisco dot com
Subject: [Bug gas/5860] New: Error: too many positional arguments
Date: 4 Mar 2008 06:01:53 -0000

Hi,

I am trying to compile romInit.s in vxWorks. And I am getting too many errors 
of following type

../romInit.s:452: Error: too many positional arguments

The reason is the Macro definition does not take any space around operator

for ex:

li r3, MACRO_DEF

where as MACRO_DEF is
#define MACRO_DEF  (a + b)

#define a 0x1000
#define b 0x2000

To be able to compile successfully the above definition needs to be changed to


#define MACRO_DEF  (a+b)


#define a (0x1000)
#define b (0x2000)

it reduces readability and it is tedious to do for all MACROS lise this

thanks
aparna

-- 
           Summary: Error: too many positional arguments
           Product: binutils
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: apjain at cisco dot com
                CC: bug-binutils at gnu dot org


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

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