imneme / pcg-c-basic

PCG — Minimal C Implementation
Apache License 2.0
408 stars 51 forks source link

C89 incompatibility #11

Open DoktorStein opened 7 years ago

DoktorStein commented 7 years ago

The README says that the code is written in a 'C89 style', but there's a lot of issues when trying to compile with '-std=c89 -pedantic' in gcc. Also, 64-bits integer are not guaranteed to exist in C89 nor fixed width types (i.e. uint32_t, uint64_t).

How can I port the code to a C89 only compiler?