octave-maintainers
[Top][All Lists]
Advanced

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

MinGW build failure "../libgnu/unistd.h:1273:1: error: explicit qualific


From: Philip Nienhuis
Subject: MinGW build failure "../libgnu/unistd.h:1273:1: error: explicit qualification in declaration of 'gnulib::isatty"
Date: Thu, 23 Aug 2012 09:44:23 -0700 (PDT)

Looking again into the MinGW build, I cannot work around the following:

:
make[3]: Entering directory `/home/Philip/octave/oct-3.7/libinterp'
depbase=`echo parse-tree/lex.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
        /bin/sh ../libtool --tag=CXX   --mode=compile g++ -shared-libgcc
-DHAVE_CONFIG_H -
I. -I../../octave/libinterp -I..  -I../../octave/libcruft/misc
-I../liboctave -I../../octa
ve/liboctave -I../../octave/libinterp/octave-value
-I../../octave/libinterp/operators -Ipa
rse-tree -I../../octave/libinterp/parse-tree -Iinterp-core
-I../../octave/libinterp/interp
-core -Iinterpfcn -I../../octave/libinterp/interpfcn -Icorefcn -I../libgnu
-I../../octave/
libgnu -I/x/Programs/gplibs/include -I/x/Programs/OctaveLibs/include
-I/x/programs/GnuWin3
2/include -g -O2  -mieee-fp -Ic:/Programs/gplibs/include/freetype2
-Ic:/Programs/gplibs/in
clude -IX:/Programs/gplibs/include   -Wall -W -Wshadow -Wold-style-cast
-Wformat -Wpointer
-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2  -MT
parse-tree/lex.lo -MD -MP -MF
$depbase.Tpo -c -o parse-tree/lex.lo parse-tree/lex.cc &&\
        mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -shared-libgcc -DHAVE_CONFIG_H -I.
-I../../octave/libinterp -I.. -I
../../octave/libcruft/misc -I../liboctave -I../../octave/liboctave
-I../../octave/libinter
p/octave-value -I../../octave/libinterp/operators -Iparse-tree
-I../../octave/libinterp/pa
rse-tree -Iinterp-core -I../../octave/libinterp/interp-core -Iinterpfcn
-I../../octave/lib
interp/interpfcn -Icorefcn -I../libgnu -I../../octave/libgnu
-I/x/Programs/gplibs/include
-I/x/Programs/OctaveLibs/include -I/x/programs/GnuWin32/include -g -O2
-mieee-fp -Ic:/Prog
rams/gplibs/include/freetype2 -Ic:/Programs/gplibs/include
-IX:/Programs/gplibs/include -W
all -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings
-Wcast-align -Wc
ast-qual -g -O2 -MT parse-tree/lex.lo -MD -MP -MF parse-tree/.deps/lex.Tpo
-c parse-tree/l
ex.cc  -DDLL_EXPORT -DPIC -o parse-tree/.libs/lex.o
parse-tree/lex.cc:312:36: warning: use of old-style cast
parse-tree/lex.cc:371:28: warning: use of old-style cast
parse-tree/lex.cc:371:54: warning: use of old-style cast
In file included from lex.ll:80:0:
../../octave/libinterp/parse-tree/octave.gperf: In static member function
'static unsigned
 int octave_kw_hash::hash(const char*, unsigned int)':
../../octave/libinterp/parse-tree/octave.gperf:130:49: warning: use of
old-style cast
../../octave/libinterp/parse-tree/octave.gperf:136:49: warning: use of
old-style cast
In file included from parse-tree/lex.cc:1560:0:
../libgnu/unistd.h: At global scope:
../libgnu/unistd.h:1273:1: error: explicit qualification in declaration of
'gnulib::isatty
'
make[3]: *** [parse-tree/lex.lo] Error 1
make[3]: Leaving directory `/home/Philip/octave/oct-3.7/libinterp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/Philip/octave/oct-3.7/libinterp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Philip/octave/oct-3.7'
make: *** [all] Error 2

On MinGW is was usually needed to put
  #include <io.h>
into lex.cc to avoid "isatty is not a part of gnulib" errors, but lexx.cc
seems to have disappeared from the source tree (while it is mentioned in the
output above.... go figure).

FYI, gcc = 4.5.2
I've copied the Octave source tree (today's tip), after ./autogen.sh, over
from my Linux box to MinGW.

What is needed to be able to continue?

Thanks,  Philip



--
View this message in context: 
http://octave.1599824.n4.nabble.com/MinGW-build-failure-libgnu-unistd-h-1273-1-error-explicit-qualification-in-declaration-of-gnulib-isa-tp4643163.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

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