Originally Posted by
maxcy
In this old c code it would not compile. I did change the old style main() parameter listing to the newer form. Then I noticed that there several functions being called before they were defined so I cut and pasted in function prototypes before main()! Still work to do. The compiler complained about missing libraries so I added in the appropriate headers and now the project compiles and actually runs.
In the code line
BOOLEAN get_source_line();
the compiler gives the following warning messages:
[Warning] empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
[Note] remove parentheses to default-initialize a variable
[Note] or replace parentheses with braces to value-initialize a variable
Anyone know what this is about?