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: [EMAIL PROTECTED]
             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/



_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to