> >>For example, if I compile the following program:
> >>
> >>int main() {
> >> double d = 1.5;
> >> e = d + 2;
> >>}
> >>
> >>I get the following:
> >>
> >>$ g++ junk.cc
> >>junk.cc: In function ?:
> >>junk.cc:3: error: ? was not declared in this scope
Without "setenv LANG C", GCC & co tend to report gibberish error messages.
--
Konstantin Olchanski
Data Acquisition Systems: The Bytes Must Flow!
Email: olchansk-at-triumf-dot-ca
Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada