Re: [xml] Annoyance with MSVC 6 in valid.h



oliverst online de wrote:

It thinks the "list"s are STL onjects. I am using the STLPort (www.stlport.org), so I don't know, if it happens with the normal STL, too. It's easy to fix, you just have to remove or rename the "list" from the prototypes. I just wanted to point this out, because it's a bit annoying...

hmm, there isn't really anything to fix. If the compiler can't figure
out that 'list' at this particular place in the code is a variable name,
not a type, it has got a big problem. It's valid code in any case (no
matter whether you compile it as C or C++).

Now whether or not this compiler bug is worth a little work-around
is an entirely different story.

Regards,
                Stefan







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]