otrv4 / libotr-ng

A new implementation of OTR with support for version 4. This is a mirror of https://bugs.otr.im/otrv4/libotr-ng
Other
43 stars 9 forks source link

Make sure we are c99 #110

Closed juniorz closed 6 years ago

juniorz commented 6 years ago

Why

We want to target our code for the c99 standard.

Tasks

juniorz commented 6 years ago

Why not to use gnulib?

https://www.gnu.org/software/gnulib/manual/html_node/Initial-import.html#Initial-import

claucece commented 6 years ago

Check this: https://travis-ci.org/otrv4/libotr-ng/builds/278319205?utm_source=github_status&utm_medium=notification

olabini commented 6 years ago

We should add -std=c99 to all compile commands

olabini commented 6 years ago

We should also add the -pedantic-errors flag so the compiler errors when using non-C99 features.

claucece commented 6 years ago

Thanks! @olabini