minor spelling error in error message

This was generated from the August Studio Express release:"/build/project/include/utils.h", line 26: Error, undefidenterr: socklen_t is not defined.
[162 byte] By [herteg] at [2007-11-26 10:13:57]
# 1
Uh... what exactly is misspelled?
MaximKartashev at 2007-7-7 2:04:16 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
I guess he means the "undefindent...", which is not a typo.
Nergal at 2007-7-7 2:04:16 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3
Yes, it looked to me as if "undefidenterr" represented a misspelled "undefined error"; I didn't even think of "undefined identifier errror". The excessive compaction leads to unreadability. Some underscores would help if you insist on abbreviating: undef_ident_err.
herteg at 2007-7-7 2:04:16 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 4
My understanding is that "undefidenterr" is not meant to describe the error message to a human, this is merely an error type descriptor or identifier, which is intended to use in warning-suppression #pragma's. I can be mistaken, however.
MaximKartashev at 2007-7-7 2:04:16 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 5
When you use the -errtags option, each message is emitted with an identifying tag. The tag can be use in other directives to supress warnings, for example. By default, the tag is not displayed.
clamage45 at 2007-7-7 2:04:16 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 6

Such tags can have uses beyond getting fed back to the compiler. For instance, I do this at the top of my build tree:

make -k >& ,make-log

analyzelogfile ,make-log > ,build-summary

The analysis summarizes how many warnings and errors come from the compiler, how many other compiler errors were generated (collect2 phase), and how many linker errors were generated, by type of warning/error. This is tremendously helpful in quickly finding out whether the changes you just checked in made the situation better or worse.

For purposes of writing the analyzelogfile script, it helps a lot to have consistent structure/format of error and warning messages. Currently it's uglier than that, partly because there are multiple build phases involved (preprocessor, compiler, linker), each with its own ideas on how to print messages, and partly because I'm also maintaining portable code (Studio and GCC). I end up with a Perl script to do the analysis, and it can be hacked as new types of messages are discovered. It would be a lot nicer if the structure/format were well-defined in advance, and such tags were human-readable. Then the script would have an easier time finding and reporting the summarized data, by simply including such tags in the output along with a count of each type of tag that occurred.

herteg at 2007-7-7 2:04:16 > top of Java-index,Development Tools,Solaris and Linux Development Tools...