Hello Thierry, Thierry Banel <tbanelweb...@free.fr> writes:
> You may try to mimic org-babel in a shell, and see what happens. > > cd /tmp/babel-29466ws7 > g++ -std=c++11 -I/usr/local/include C-src-29466moy.cpp -L/usr/local/lib > -lginac > > (of course you need to change the random names like babel-29466ws7 by the > actual ones as generated > on your system). It compiles fine: c++ -std=c++11 -I/usr/local/include -L/usr/local/lib -lginac C-src-1053hn1.cpp C-src-1053hn1.cpp:16:10: warning: 'operator=' is deprecated [-Wdeprecated-declarations] eqns = a*x+b*y==3, x-y==b; ^ /usr/local/include/ginac/container.h:199:27: note: 'operator=' declared here container_init<ex, STLT> operator=(const ex & x) attribute_deprecated; ^ C-src-1053hn1.cpp:17:10: warning: 'operator=' is deprecated [-Wdeprecated-declarations] vars = x, y; ^ /usr/local/include/ginac/container.h:199:27: note: 'operator=' declared here container_init<ex, STLT> operator=(const ex & x) attribute_deprecated; ^ 2 warnings generated. Thanks for your help Roger