I am using 4.5.2

g++ -v

Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 
4.5.2-8ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.5 --enable-shared --enable-multiarch 
--with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id 
--with-system-zlib --libexecdir=/usr/lib/x86_64-linux-gnu 
--without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.5 
--libdir=/usr/lib/x86_64-linux-gnu --enable-nls --with-sysroot=/ 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes 
--enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold 
--enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic 
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu 
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)

On Tuesday, July 24, 2012 2:53:47 PM UTC-4, Ondřej Čertík wrote:
>
> On Tue, Jul 24, 2012 at 11:08 AM, pallab <[email protected]> wrote: 
> > This gives error message when I try to make, 
> > 
> > [  6%] Building CXX object src/CMakeFiles/csympy.dir/basic.cpp.o 
> > [ 13%] Building CXX object src/CMakeFiles/csympy.dir/dict.cpp.o 
> > /home/pallab/csympy/src/dict.cpp: In function ‘std::ostream& 
> > operator<<(std::ostream&, const CSymPy::Dict_int&)’: 
> > /home/pallab/csympy/src/dict.cpp:6:17: error: expected initializer 
> before 
> > ‘:’ token 
> > /home/pallab/csympy/src/dict.cpp:9:5: error: expected primary-expression 
> > before ‘return’ 
> > /home/pallab/csympy/src/dict.cpp:9:5: error: expected ‘)’ before 
> ‘return’ 
> > make[2]: *** [src/CMakeFiles/csympy.dir/dict.cpp.o] Error 1 
> > make[1]: *** [src/CMakeFiles/csympy.dir/all] Error 2 
> > make: *** [all] Error 2 
>
> Which git hash did you build and which gcc do you use? I have: 
>
> $ g++ -v 
> Using built-in specs. 
> COLLECT_GCC=g++ 
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper 
> Target: x86_64-linux-gnu 
> Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 
> 4.6.1-9ubuntu3' 
> --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs 
> --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr 
> --program-suffix=-4.6 --enable-shared --enable-linker-build-id 
> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
> --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 
> --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu 
> --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin 
> --enable-objc-gc --disable-werror --with-arch-32=i686 
> --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu 
> --host=x86_64-linux-gnu --target=x86_64-linux-gnu 
> Thread model: posix 
> gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) 
>
>
>
>
> Ondrej 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sympy/-/GmVx4LrIQJ0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to