www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 64] New: Build warnings in gcc.

http://bugzilla.gdcproject.org/show_bug.cgi?id=64


           Summary: Build warnings in gcc.
    Classification: Unclassified
           Product: GDC
           Version: development
          Platform: IA64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
        AssignedTo: ibuclaw gdcproject.org
        ReportedBy: ibuclaw gdcproject.org


In the debian build logs on at least on ia64-linux, I see these warnings for
almost every file compiled:

In file included from ./tm.h:29:0,
                 from ../../src/gcc/c/c-lang.c:24:
../../src/gcc/config/ia64/sysv4.h:146:0: warning: "TARGET_OS_D_BUILTINS"
redefined [enabled by default]
../../src/gcc/config/linux.h:52:0: note: this is the location of the previous
definition

Would be nice to #undef these, if they need to be redefined.

However, having a quick look, the defines in sysv4.h are not applicable to
ia64-linux, so there is a problem here that where the macros are defined, they
aren't isolated enough.  So we should really be following what is done for
TARGET_OS_CPP_BUILTINS - which looks like a PITA, but at least it works.

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Jun 27 2013