Re: Compiling issue
- Posted by jimcbrown (admin) Feb 03, 2012
- 2039 views
Hallo
Also it was my own failure. I figured it out the hard way, that it is not possible to compile a program if it is including a file with the same name but a different extension.
This should work. This works for me.
Say i have a program called "myprog.exw" that includes "myprog.ew" this works fine with euiw.exe and eubind.exe. Also euc.exe seems to have no problem.
But during linking, Watcom C gives a lot of warnings and is unable to link the program, MinGW links it without warnings and errors but produces a unusable "myprog.exe".
I tried it on Linux/GNU with gcc and this works fine here.
So, becouse i wasted a lot of time with this, my question is, is it possible to mention this in the Docs or tweak euc.exe to give "clear" warning about this issue?
Thank you Andreas
This should not happen. If this doesn't work then something else is very wrong.
What sort of warnings do you get from Watcom C? What error messages do you get when you run myprog.exe from MinGW?