This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

C++, libstdc++-v3 and, well, error messages


If you compile the following trivial snippet

  #include <vector>
  vector<int> v;

with our current CVS sources, you'll get the following error:

  filename:2: syntax error before ';' token

Now, I know what's wrong in that snippet, but how many of our users will
spend a lot of time tracking this down and also submit bug reports?

Perhaps we could issue a better diagnostic message?

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/


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