Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Blamed by who? Commercial compiler support? I'd blame the part i didn't make too :)

You can usually figure out if this is true by testing it out against Comeau's online C/C++ compiler. Or at least, you could. Comeau seems not to have updated in a while

If it crashes, it was probably EDG. If it doesn't, it wasn't

The ICC example posted does not crash Comeau, so i doubt it was an EDG issue.

(They are also missing a semicolon on line 2, which EDG doesn't crash on. If you fix this, it still doesn't crash EDG) In fact, all of the programs they posted that contain structs have the same issue. The last member of every struct is missing a semicolon.



Blamed by the compiler vendor. Most of these bugs were fixed when the vendor updated to a newer EDG version.

Different compilers use different EDG versions, so a bug in one might not be present in another.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: