|
-
October 13th, 2003, 09:03 AM
#5
Originally posted by mux
The exact error message is "'list' : is not a member of 'std'".
mytype is a rdv_t, which is a typedef on a struct.
I'm sorry, I can't post the code here, and I'm really sorry to say this, being an opensource developper the night... But the day I have to do VC++ for my employer and can't disclose the code :-(.
The code looks like this :
#include <list>
// Other headers here.
typedef struct CRdv_t {
// Some stuff here.
} rdv_t;
// Various methods here.
SomeType
SomeObject::SomeMethod(SomeParameters) {
// Other variables definition.
std::list<rdv_t> mylist;
// Body of the method.
}
It chokes on the std::list<rdv_t> mylist; as described above.
The code looks really correct to me, I'm puzzled :-(.
Cheers,
Maxime
Hate to repeat myself! :-)
I don't see this line:
Code:
using namespace std;
Please put it, and then check!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|