[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43171] libgnu/stdio.h is included in an illeg
From: |
Petr Belyaev |
Subject: |
[Octave-bug-tracker] [bug #43171] libgnu/stdio.h is included in an illegal way |
Date: |
Wed, 17 Sep 2014 21:47:45 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Firefox/24.0 |
Follow-up Comment #3, bug #43171 (project octave):
Hi,
I'm having the same issue, but it comes from the different file (i mean it's
different from those discussed on
http://octave.1599824.n4.nabble.com/Build-issues-with-libgnu-td4666148.html).
It goes like this
icpc ... -c numeric/SparseCmplxCHOL.cc -o
numeric/.libs/numeric_libnumeric_la-SparseCmplxCHOL.o
In file included from /usr/include/cholmod_check.h(70),
from /usr/include/cholmod.h(95),
from ./util/oct-sparse.h(73),
from numeric/sparse-base-chol.h(27),
from numeric/SparseCmplxCHOL.h(27),
from numeric/SparseCmplxCHOL.cc(28):
../libgnu/stdio.h(948): error: declaration is incompatible with previous
"getchar" (declared at line 538 of "/usr/include/stdio.h")
_GL_CXXALIAS_SYS (getchar, int, (void));
And the same thing for putchar and vprintf functions.
It's compiled after modifying line 23 in gnulib/stdio.h by adding "!defined
_STDIO_H"
#if defined __need_FILE || defined __need___FILE || defined
_GL_ALREADY_INCLUDING_STDIO_H || !defined _STDIO_H
But of course that's not a fix because after compiling this single file i
reverted gnulib/stdio.h back to normal
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43171>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/