|
From: Joseph M. <joe...@gm...> - 2006-03-16 01:30:27
|
> > Date: Tue, 14 Mar 2006 22:46:02 -0500 From: Joseph McCay
> > <joemccay@gm...> To: mingw-users@li... Subject: [Mingw-users] 52
> > errors with a simple map example.
> > The following code gives me 52 errors. I am using mingw 3.4.5, and
> > I got the same results with 3.4.4. What am I missing?
> >
> As Brian said, it's difficult to tell without seeing the real code.
> But based on your error messages, I'll bet you've mistakenly done
> something analogous to one of the following:
> Either:
> namespace ptl { #include <map> // erroneously imports std::map into
> namespace ptl }
> or
> namespace ptl { using namespace std; // screws up gcc's look-up
> rules. }
> Best regards,
> Tom
My most recent problem was I using the wrong header name which was an
older version. I code I gave you compiles fine when I use the right
header. The older version had both of those things you listed. What is
wrong with both of them? Are they legal c++?
joe
|