On Mon, Aug 13, 2012 at 6:24 PM, bob <bobat...@gmail.com> wrote:

> /usr/include/octave-3.2.4/octave/lo-mappers.h:33:26: error: expected ‘)’
> before ‘>>’ token
>
> All have the same error occurring in  different header files. I have tried
> to compile pure C++ code containing oct.h with the same compiler flags
> straight  using gcc and they compile just fine.
>
> ECL: 12.7.1; gcc: 4.6.3
>
> Any ideas ?


You could play with the intermediate sources. If you use

(compile-file "foo.lsp" :c-file "foo.cc" :h-file "foo.eclh" :data-file
"foo.data")

ECL will keep the intermediate files for you to inspect. You may have a
look at the place where ECL put the #inline statement for oct.h and see
whether moving it somewhere else helps -- it might be that ECL's headers
are interacting in the wrong way with Octave's.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to