This is the mail archive of the cygwin 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]

G++ seems broken


#include <vector>

int main() {
   vector<int> quux;
   return 0;
}

g++ test.cpp
test.cpp: In function `int main()':
test.cpp:4: error: `vector' undeclared (first use this function)
test.cpp:4: error: (Each undeclared identifier is reported only once for
each
   function it appears in.)
test.cpp:4: error: syntax error before `>' token

i validated this on another machine also.

Im running a full install of cygwin that i updated today.
Running on WinXP, i have free diskpace and more such things so that
doesnt seem to be the issue.

grtz, Bart



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]