http://llvm.org/bugs/show_bug.cgi?id=3579
Summary: different clang -E from gcc -E on this file
Product: clang
Version: unspecified
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: preprocessor
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
hi.. I when I preprocess this file with clang and gcc I am getting different
results:
lev ~$ gcc -E subr_smp.c > subr_smp.gcc.c
lev ~$ ccc -E subr_smp.c > subr_smp.clang.c
ccc: Unknown host 'freebsd', using generic host information.
lev ~$ ls -l subr_smp.gcc.c subr_smp.clang.c
-rw-r--r-- 1 rdivacky rdivacky 75499 Feb 13 23:26 subr_smp.clang.c
-rw-r--r-- 1 rdivacky rdivacky 75256 Feb 13 23:26 subr_smp.gcc.c
lev ~$
this is one of the causes why fbsd kernel does not link (it. uses a macro that
makes symbol name based on the line of definition - clang has name collisions
while gcc does not)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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