https://llvm.org/bugs/show_bug.cgi?id=26744

            Bug ID: 26744
           Summary: In x86-64 Cygwin, USER_LABEL_PREFIX should be empty
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: tinysun....@gmail.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

In Cygwin 64, the gcc compiler has not the underscore prefix as follows.

$ gcc -E -o - -dM -x c - < /dev/null | grep  USER
#define __USER_LABEL_PREFIX__

$ clang-3.5.2 -E -o - -dM -x c - < /dev/null | grep  USER
#define __USER_LABEL_PREFIX__ _

This macro is rarely used, but some library functions could not be linked. (ex.
basename(), BSD's qsort_r())

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to