[llvm-bugs] [Bug 26744] New: In x86-64 Cygwin, USER_LABEL_PREFIX should be empty
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Feb 25 14:42:02 PST 2016
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: unassignedclangbugs at nondot.org
Reporter: tinysun.net at gmail.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160225/9daa5251/attachment.html>
More information about the llvm-bugs
mailing list