Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various code validity issues #48

Open
GoogleCodeExporter opened this issue Mar 3, 2016 · 0 comments
Open

Various code validity issues #48

GoogleCodeExporter opened this issue Mar 3, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

1. foma doesn't compile under recent versions of GCC. The problem is caused by 
the stricter policy followed by GCC as to when standard headers are included. 
The current workaround is to add

#include <stdbool.h>

to the file that includes fomalib.h. The solution would be to include this line 
in fomalib.h itself.

2. The parameter of fsm_read_binary_file(char*) should be a const char*. This 
goes for all other functions that accept a filename 
(fsm_read_binary_file_multiple_init, io_get_file_size, etc).

Original issue reported on code.google.com by [email protected] on 15 Jul 2013 at 1:20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant