avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] [bug #13281] unable to compile for multiple defines of ma


From: anonymous
Subject: [avr-libc-dev] [bug #13281] unable to compile for multiple defines of macros: macros.inc multiple includes
Date: Fri, 3 Jun 2005 05:23:44 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux x86_64) Opera 7.51 [en]

URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13281>

                 Summary: unable to compile for multiple defines of macros:
macros.inc multiple includes
                 Project: AVR C Runtime Library
            Submitted by: None
            Submitted on: Fri 06/03/05 at 01:23
                Category: Library
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open

    _______________________________________________________

Details:

The macros.inc in the common directory does not have

#ifndef _MACROS_INC
#define _MACROS_INC
 
at the top, so when the files in libc/pmstring (specifically strlcat_P.S),
the build errors out with alreay defined errors.

This is because there is a #include "gasava.inc" followed by a 
#include "macros.inc", but gasava.inc already includes macros.inc, hence the
mulitple define.  It is odd, but this is in 1.0.4 through 1.2.3.

The build system is x86_64,  and cross tools binutils 2.15.97, gcc-3.4.4.
Cheers.



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
hw_sw_dev --AT-- yahoo --DOT-- com  | Originator Email




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13281>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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