http://llvm.org/bugs/show_bug.cgi?id=19024

            Bug ID: 19024
           Summary: #define __FLOAT_H is likely to clash in float.h
           Product: clang
           Version: 3.3
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Headers
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Hello,

Clang's float.h uses the "__FLOAT_H" name to prevent double inclusion.
However this name is not so rare and I actually ran into a project using the
same #define name, which makes the compilation fails.

If we look at the other names, they seem unlikely to clash with project include
names (either they use names unlikely for chosen filenames or are prefixed with
__CLANG_ or with __STD).

Therefore I would like to request the name used in float.h to be changed from
__FLOAT_H to __CLANG_FLOAT_H (like __CLANG_LIMITS_H).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to