some minor patches

 new new list compose Reply to this message Top page
Attachments:
+ (text/plain)

Delete this message
Author: Reini Urban
Date:  
To: txr-users
Subject: some minor patches
I saw you were asking for help at https://news.ycombinator.com/item?id=11628080

Well, on my darwin with macports gcc-mp-5 as well as the apple cc there are some problems.

Some of my trivial patches are here:
https://github.com/rurban/txr/commits/master

But the whole conftest.ccver con probe is too fragile.
for me $2 is empty, so I skip this test.

$ gcc --version
gcc (MacPorts gcc5 5.3.0_1) 5.3.0
$ cc --version
Apple LLVM version 7.3.0 (clang-703.0.31)

Now I’m stuck at some new C90 strictness:
lex.yy.c:4034:21: error: C++ style comments are not allowed in ISO C90
num_to_alloc = 1; // After all that talk, this was set to 1 anyways...

need to allow this.

The .section @progbits
was not valid on apple, so I disabled it. Need to check the assembler.


Reini Urban
rurban@???