logoalt Hacker News

mort96yesterday at 10:52 PM2 repliesview on HN

Seems like a good way to get students to write C rather than GNU C.


Replies

ueckeryesterday at 11:08 PM

TCC - just like many other C compilers - supports many GNU extensions.

einpoklumyesterday at 11:08 PM

The professor could have just insisted on `-std=c99` or a similar GCC flag which disallows GNU extensions.

When I taught programming (I started teaching 22 years ago), the course was still having students either use GCC with their university shell accounts, or if they were Windows people, they would use Borland C++ we could provide under some kind of fair use arrangement IIANM, and that worked within a command shell on Windows.

show 1 reply