Skip to content

Comment on Show HN: Introducting C+

Comments

Had a play with it; few oddities, but this is pretty cool.

The use of the $ function is totally not portable though, which is a bit of a pity.

Doesn't compile on a mac either; bunch of warning about pointer size that are being treated as errors by -Werror

Still, nice work~!

Yeah using $ was pretty cheeky. I use a few other GCC specific features such as nested functions, which is why I specify that the standard is GNU99 rather than C99. If you have any errors on mac please post a bug report as I don't have a machine to test on! Thanks.

I think that's actually an issue with 64bit pointers :/

Works on my Mac (with gcc 4.7 :) )

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.