Hi
I did solve some of the issues here. I used -E switch to get the output after preprocessor.
The problem with the union declaration was because I had misspelled one of the global definations passed on as compile tme arguments.
As for the library errors, I saw the following types of output
# 25 "D:/Dev-Cpp/include/string.h" 2
# 36 "D:/Dev-Cpp/include/string.h"
void* __attribute__((__cdecl__)) memchr (const void*, , size_t)
as you can see that int here has become null. It seemed to me that this could have been caused by some #defines and indeed I found lots of #define int and undef int in the code.
For the sake of compiling I removed all the # define int and undef int statements from the code, but the output in anycase remains the same. I.e there has been no change in the compiler output after removing all those statements.
Seems like I am stuck again?
Obviulsy these problems can only be found if you have the code in front of you, and have little more brain then I have
Any other ways of tackling this?





Reply With Quote