On 7 Mar 2013, at 19:28, Dimitry Andric <d...@freebsd.org> wrote:

>> Also, I seem to remember a discussion about making -std=gnu89 the default
>> for clang when run as "cc", but nothing seems to have changed. Could this
>> be picked up again, because there are in fact subtle semantic differences
>> between gnu89 inline and c99 inline that old code may rely on.

cc was deprecated in POSIX1997.  I would be more in favour of removing it 
entirely than of making it default to anything other than C11.

I do have a patch for clang that makes it select a more sensible default 
dialect when invoked as gcc, c89, c99, or c11.  I'll try to push this upstream 
soon.

David

_______________________________________________
freebsd-toolchain@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to