Hacker News new | past | comments | ask | show | jobs | submit login

We had the software version defined as a macro in the header file. This worked absolutely fine for version 0 to version 7 and then stopped compiling at version 08.

It turned out, the original author had written it as a 2 digit number for consistency, like this: 03

In C, a leading 0 indicates the number is octal, so 07 is a valid number, but 08 is not.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: