On 05-Jan-2002 Ricardo L. A. B�nffy wrote: > I am a newbie and, despite having tried this a couple times, I am still > having problems under cygwin (please forgive-me for the following verbosity > ;-) ). > > "ricardo" is my Win2K user and CLARKE is the Win2K box. > > Do I have to change something in order to compile? Have I missed something? > Where can I find it? > > BaseDisplay.cc > In file included from BaseDisplay.cc:85: > i18n.hh:46: syntax error before `;' > i18n.hh:61: ANSI C++ forbids declaration `nl_catd' with no type > i18n.hh:61: `nl_catd' declared as an `inline' field > i18n.hh:61: parse error before `&' > i18n.hh:63: extraneous `char' ignored > i18n.hh:65: parse error before `}' > BaseDisplay.cc: In function `void signalhandler(int)': > BaseDisplay.cc:149: no matching function for call to `I18n::getMessage (int, > int, const char[23])' > BaseDisplay.cc:157: no matching function for call to `I18n::getMessage (int, > int, const char[15])' > BaseDisplay.cc:163: no matching function for call to `I18n::getMessage (int, > int, const char[26])' > BaseDisplay.cc: In method `BaseDisplay::BaseDisplay(char *, char * = 0)': > BaseDisplay.cc:233: no matching function for call to `I18n::getMessage (int, > int, const char[58])' > BaseDisplay.cc:239: no matching function for call to `I18n::getMessage (int, > int, const char[77])' > make[2]: *** [BaseDisplay.o] Error 1 > make[2]: Leaving directory `/home/ricardo/blackbox-0.62.0pre1/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/ricardo/blackbox-0.62.0pre1' > make: *** [all-recursive-am] Error 2
The compiler does not know what nl_catd is so it calls it an int. When the code later calls i18n::getMessage() the compiler does not find one wanting an int so it gets confused. I would like to see the nl_types.h file that cygwin has.
