[tlbuild] dvisvgm-2.1 trial build
Richard M. Koch
koch at uoregon.edu
Fri Feb 3 17:54:45 CET 2017
Ken,
Google sent me to
http://stackoverflow.com/questions/10613126/what-are-the-differences-between-std-c11-and-std-gnu11 <http://stackoverflow.com/questions/10613126/what-are-the-differences-between-std-c11-and-std-gnu11>
for the answer to a question about the difference between. -std=c++11 and -std=gnu++1. The answer
says the gnu flag allows extensions that are "implementation-defining" or "specifying things that the
standard is silent on."
The Mac and some flavors of BSD now favor clang; gcc is no longer provided by XCode.
Therefore I recommend -std=c++11.
Dick Koch
> On Feb 3, 2017, at 7:59 AM, Ken Brown <kbrow1i at gmail.com> wrote:
>
> On 2/2/2017 6:01 PM, Karl Berry wrote:
>> kb>
>> -AX_CXX_COMPILE_STDCXX([11], [noext])
>> +AX_CXX_COMPILE_STDCXX([11])
>>
>> Ken, I sent the idea to Martin. Will see what he says.
>>
>> dk> Maybe this information could be used to fix then TeXLive source
>>
>> Dick, I sent this info to Martin also. Better to make changes upstream
>> than in TL, if at all possible, after all.
>
> Hi Karl and Martin,
>
> I wonder if Dick's issue could be the same as mine. I think his error messages all refer to types, functions, and constants that are not defined in ISO C/C++, so the fix might again be to use -std=gnu++11 or -D_DEFAULT_SOURCE.
>
> Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tlbuild/attachments/20170203/f6dfb672/attachment.html>
More information about the tlbuild
mailing list