[Bug target/39570] cabs and cabsf are named differently on NetBSD 5

aran at 100acres dot us gcc-bugzilla@gcc.gnu.org
Sat Mar 28 18:14:00 GMT 2009



------- Comment #7 from aran at 100acres dot us  2009-03-28 18:13 -------
(In reply to comment #5)
> Another fix is to #undef TARGET_C99_FUNCTIONS as obviously netbsd is another
> OS without a clue ...
> 

Please explain how an OS with a clue would handle this problem.  Older binaries
that use the pre-c99 complex structure links to the existing linker symbols,
cabs and cabsf.  Changing the meaning of these symbols to the c99 meaning would
break these legacy programs.  It seems cluefull to decorate these symbols with
__c99_ and provide a rename in the header.  What would be a better solution?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39570



More information about the Gcc-bugs mailing list