I just installed 7.1 and tried compiling a short C++ code by using xemacs.
The warning output texts within xemacs are somehow messed up with encoding
characteres:
make
gcc -c -Wall -g -I/home/jychen/work/numerical invest.c++
[0minvest.c++: In function `[0m[1;36mdouble present_worth(records_t *,
double)[0m[0m':
[0m[0minvest.c++:[0m[37m182:[0m[33m warning: initialization to
`[0m[1;36mint[0m[33m' from `[0m[1;36mdouble[0m[33m'[0m
[0minvest.c++: In function `[0m[1;36mdouble
present_worth_i(double)[0m[0m':
[0m[0minvest.c++:[0m[37m214:[0m[33m warning: initialization to
`[0m[1;36mint[0m[33m' from `[0m[1;36mdouble[0m[33m'[0m
g++ -o invest invest.o -L/home/jychen/work/numerical -lnumeric -lm
The normal texts in a konsole look as:
gcc -c -Wall -g -I/home/jychen/work/numerical invest.c++
invest.c++: In function `double present_worth(records_t *, double)':
invest.c++:182: warning: initialization to `int' from `double'
invest.c++: In function `double present_worth_i(double)':
invest.c++:214: warning: initialization to `int' from `double'
g++ -o invest invest.o -L/home/jychen/work/numerical -lnumeric -lm
What goes wrong here?
-- Joe
-----------------------------------------------
FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.com