Re: [xml] Annoyance with MSVC 6 in valid.h
- From: Bjorn Reese <breese mail1 stofanet dk>
- To: xml gnome org
- Subject: Re: [xml] Annoyance with MSVC 6 in valid.h
- Date: 11 Sep 2003 23:13:38 +0200
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?")
] [Thread Prev