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



On Thu, 2003-09-11 at 16:34, Stefan Seefeld wrote:

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++).

Gdb tends to get confused as well about variable names that are similar
to STL types, refusing to display the content of these variables.

As a general rule of thumb, I avoid generic names such as "list" and
"set", partly because it may confuse development tools, and partly
because it may confuse developers ("A list of what?")





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