bugAVR C Runtime Library - Bugs: bug #12033, macros.inc need to be protected...


bug #12033: macros.inc need to be protected from multiple inclusion.

Submitted by:  Paul Schlie <schlie>
Submitted on:  Sat 19 Feb 2005 07:06:06 AM UTC  
Category:  Library Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  Joerg Wunsch <joerg_wunsch>
Percent Complete:  100% Open/Closed:  Closed
Release:  None Fixed Release:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 19 May 2005 09:27:54 AM UTC, comment #3: 

Untangling is definitly superior to patching the symtoms.
Meanwhile patch #3997 keeps my gas happy.
Keep up the good work!

Juergen Weigert <jnweiger>
Tue 15 Mar 2005 09:39:05 PM UTC, comment #2: 

I've once started to untangle the include spaghetti, but it
needs a bit of further testing until it will be ready for

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Sat 19 Feb 2005 09:44:52 PM UTC, comment #1: 

Multiple inclusion of this file is neither useful nor

I'd rather like to resolve the conflict by making the
inclusion policy consistent, and have each source file
include macros.inc at most once.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Sat 19 Feb 2005 07:06:06 AM UTC, original submission:  

As the newest soon to be released binutils/gas v2.16 considers the
redefinition of macros an error, and presently several files include
macros.inc as well as others which do the same; macros.inc needs to
be multiple-include protected by:

#ifndef MACROS_INC
#define MACROS_INC

 <present body of code>

#endif /* MACROS_INC */

Paul Schlie <schlie>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty




Follow 7 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-07-01 joerg_wunsch StatusNone => Fixed
    Percent Complete90% => 100%
    Open/ClosedOpen => Closed
2005-06-30 joerg_wunsch Percent Complete20% => 90%
2005-05-19 jnweiger Carbon-Copy- => Added jw@suse.de
2005-03-15 joerg_wunsch Percent Complete0% => 20%
2005-02-19 joerg_wunsch Assigned toNone => joerg_wunsch

Back to the top

Powered by Savane 3.5