This is a follow-up on me previous experience. I did not solve the problem yet, but narrowed it down to a the following.
"AdvApp2Var_Wrapper.hxx" includes amongst other files: #include "/opt/occ/inc/AdvApp2Var_ApproxF2var.hxx" #include "/opt/occ/inc/AdvApp2Var_ApproxAFunc2Var.hxx" If I compile these two individually like this: g++ -I/opt/occ/inc -DHAVE_CONFIG_H -c /opt/occ/inc/AdvApp2Var_ApproxF2var.hxx -o ~/scratch/test.o Everything is fine, no error messages. However the combination of the 2 include files provides me consistently with the following error: In file included from /opt/occ/inc/Standard_PrimitiveTypes.hxx:5, from /opt/occ/inc/Handle_Standard_Transient.hxx:10, from /opt/occ/inc/Handle_MMgt_TShared.hxx:33, from /opt/occ/inc/Handle_TColStd_HArray1OfReal.hxx:33, from /opt/occ/inc/AdvApp2Var_ApproxAFunc2Var.hxx:29, from test.hxx:2: /usr/include/stdlib.h:699: error: expected unqualified-id before ‘int’ /usr/include/stdlib.h:699: error: expected `)' before ‘int’ /usr/include/stdlib.h:699: error: expected `)' before ‘int’ I keep digging... Marco _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users