This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

What's wrong? gcc brain-damaged on cygwin?


Looking at your post I see that you compiled your code as follows:

"gcc testnewchar.cpp:

You should use g++ to compile c++ code.

I was able to replicate your errors and eliminate them by using g++,
which, accoriding to a post I saw yesterday on the gcc-help board,
has been the preferred way to compile c++ code for a long time.

Wayne Keen

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]