[Pkg-octave-devel] Bug#705485: I believe the issue persists with 3.6.4-3
Sébastien Villemot
sebastien at debian.org
Wed Jul 3 10:13:53 UTC 2013
Le mardi 02 juillet 2013 à 21:24 -0400, Yaroslav Halchenko a écrit :
> Hi Guys,
>
> unless I am mistaken in the cause here, but psychtoolbox-3 still FTBFS
> under unstable+experimental with exactly the same error as before:
Even though the error is the same than before, the problem is located in
psychtolbox-3, reasons below.
> In file included from /usr/include/octave-3.6.4/octave/mexproto.h:52:0,
> from /usr/include/octave-3.6.4/octave/mex.h:67,
> from Common/Base/PsychIncludes.h:43,
> from Common/Base/PsychConstants.h:36,
> from Common/Base/Psych.h:34,
> from Common/Base/PsychScriptingGlue.cc:101:
> /usr/include/c++/4.8/cstdlib: In function 'long long int std::abs(long long int)':
The core problem is that Pysch.h includes PsychConstants.h within an
"extern C" block. Transitively, mex.h and mexproto.h are also included
within this block. But mexproto.h includes <cstdlib> (because we're
doing C++), and g++ 4.8 does not like to have a C++ header included
within an "extern C" block.
The solution is therefore not to include mex.h within an "extern C"
block. I let you figure out how to do that best within psychtoolbox-3.
Cheers,
--
.''`. Sébastien Villemot
: :' : Debian Developer
`. `' http://www.dynare.org/sebastien
`- GPG Key: 4096R/381A7594
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20130703/48619b91/attachment.sig>
More information about the Pkg-octave-devel
mailing list