[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] c89
From: |
Larry Doolittle |
Subject: |
[Tinycc-devel] c89 |
Date: |
Tue, 26 Sep 2017 15:49:09 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Friends -
Someone asked about c89. I made a simple experiment on mob.
1. Replace 67 //-style comments with /* */
2. #define inline __inline__ in tcc.h
3. Use --std=c89 under gcc-4.9.2 on x86_64
The result builds and passes self-tests.
Note that by construction, this doesn't check tcc's non-x86_64 code generators.
As much as I like c99, I could see an argument for putting step (1) above
into mob. I can supply the patch to anyone interested, but I'm clearly not
the right person to make that commit.
- Larry
- [Tinycc-devel] c89,
Larry Doolittle <=