You are absolutely right! as the message below says:
========================
Option -I is deprecated for setting the input format, please use -J
instead.
========================
But I cannot correctly set this variable, I tired:
"Tools --> Compiler Options ==> Add these commands to the linker command
line", but I got this message:
========================
g++.exe ../cygwin/Fox/fox-1.0.46/calculator/help.o
../cygwin/Fox/fox-1.0.46/calculator/HelpWindow.o
../cygwin/Fox/fox-1.0.46/calculator/icons.o
../cygwin/Fox/fox-1.0.46/calculator/main.o
../cygwin/Fox/fox-1.0.46/calculator/Preferences.o
../cygwin/Fox/fox-1.0.46/calculator/Calculator.o Project1_private.res -o
"Project1.exe" -L"C:/cygwin/lib" -L"C:/cygwin/usr/lib" -J -mwindows
../cygwin/lib/libFOX.a ../cygwin/lib/libz.a
../cygwin/lib/gcc-lib/i686-pc-cygwin/3.3.1/libgcc.a
../cygwin/lib/libcygwin.a g++: unrecognized option `-J'
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
warning: cannot find entry symbol _WinMainCRTStartup; defaulting to
00401000
../cygwin/lib/libFOX.a(FXApp.o)(.text+0x73fe):FXApp.cpp: undefined
reference to `__TrackMouseEvent@4'
collect2: ld returned 1 exit status
make: *** [Project1.exe] Error 1
Execution terminated
========================
If I change this to:
Project Options --> Compile ==> -J
Project Options --> C++ Compiler -J"C:\cygwin\usr\fox"
I get:
g++: unrecognized option `-J'
==========================
Can you please be a bit more specific as to where and how this '-J' is used
age...@co... wrote:
It seems to say use -J in the linker options. You are using older
headers it says. Use the <header> and <cheader> options instead also.
--
~~Scott Simontis~~
Programmer
--
Jorge Escalante
FYI
http://www.astro.umd.edu/~marshall/abbrev.html
E-Mail Policy
http://www.vif.com/users/escalante/Email_Policy.html
* You cannot exercise your power to a point of humiliation.
- Jean Chretien
* The media's the most powerful entity on earth. They have the
power to make the innocent guilty and to make the guilty
innocent, and that's power.
- Malcom X
* "Innocent until proven guilty", no... not in Canada!!
|