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 `double present_worth(records_t *,
double)':
[0minvest.c++:182: warning: initialization to
`int' from `double'
[0minvest.c++: In function `double
present_worth_i(double)':
[0minvest.c++:214: warning: initialization to
`int' from `double'
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


Reply via email to