[Bug c/82510] New: C compiler ignores user definition of log
doug at idaccr dot org
gcc-bugzilla@gcc.gnu.org
Tue Oct 10 22:50:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82510
Bug ID: 82510
Summary: C compiler ignores user definition of log
Product: gcc
Version: 4.8.5
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: doug at idaccr dot org
Target Milestone: ---
Created attachment 42338
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42338&action=edit
compile with "gcc -O0 log-bug.c" - it should print 2.5 when run.
When I define my own "log" function in a C program the one defined in math.h
is used, even when I don't include math.h.
More information about the Gcc-bugs
mailing list