http://llvm.org/bugs/show_bug.cgi?id=3535
Summary: const char * assigned to char * in Unix/Signals.inc
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: System Library
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=2519)
--> (http://llvm.org/bugs/attachment.cgi?id=2519)
Patch for Unix/Signals.inc
strrchr returns a const char *, but it is assigned to a char * variable twice
in the file. This breaks compiling, at least on gcc-4.4.0 prereleases.
Switching to const char * (instead of coercing to char *) seems to work; the
char array is never modified.
--
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