octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compile error of src/file-io.cc on octave-3.3.52+ by MinGW (GCC-4.5.0)


From: Tatsuro MATSUOKA
Subject: Compile error of src/file-io.cc on octave-3.3.52+ by MinGW (GCC-4.5.0)
Date: Sat, 2 Oct 2010 15:51:42 +0900 (JST)

Hello

I have checked the recent development source.

changeset id : 11075    4e31d44a9763

In compiling the src/file-io.cc, I have met the following error.


libtool: compile:  g++ -shared-libgcc -DHAVE_CONFIG_H -I. 
-I../../../hg/octave-work/src -I..
-I/WinDevTools/include -I/GnuWin32/include -I../libgnu 
-I../../../hg/octave-work/libgnu
-I../../../hg/octave-work/libcruft/misc -I../liboctave 
-I../../../hg/octave-work/liboctave -I.
-I../../../hg/octave-work/src -I/WinDevTools/include -I/GnuWin32/include -O3 
-fomit-frame-pointer
-DHAVE_CONFIG_H -mieee-fp -IC:/Programs/GnuWin32/include 
-I/WinDevTools/include/freetype2
-I/WinDevTools/include -IC:/Programs/WinDevTools/include -Wall -W -Wshadow 
-Wold-style-cast -Wformat
-O3 -fomit-frame-pointer -O3 -fomit-frame-pointer -MT 
liboctinterp_la-file-io.lo -MD -MP -MF
.deps/liboctinterp_la-file-io.Tpo -c ../../../hg/octave-work/src/file-io.cc  
-DDLL_EXPORT -DPIC -o
.libs/liboctinterp_la-file-io.o
In file included from ../../../hg/octave-work/src/oct-prcstrm.h:27:0,
                 from ../../../hg/octave-work/src/file-io.cc:71:
../../../hg/octave-work/src/oct-stdstrm.h: In constructor
'octave_stdiostream::octave_stdiostream(const std::string&, FILE*, 
std::ios_base::openmode,
oct_mach_info::float_format, int (*)(FILE*))':
../../../hg/octave-work/src/oct-stdstrm.h:111:86: error: expected id-expression 
before '(' token
In file included from ../../../hg/octave-work/src/file-io.cc:77:0:
../../../hg/octave-work/src/variables.h: At global scope:
../../../hg/octave-work/src/variables.h:106:40: warning: use of old-style cast
../../../hg/octave-work/src/variables.h:106:65: warning: use of old-style cast
../../../hg/octave-work/src/file-io.cc: In function 'octave_stream 
do_stream_open(const std::string&,
const std::string&, const std::string&, int&)':
../../../hg/octave-work/src/file-io.cc:497:30: error: expected id-expression 
before '(' token
make[3]: *** [liboctinterp_la-file-io.lo] Error 1



Any suggestions?


Regards

Tatsuro


--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]