Hello fellows!

I'm compiling my code using CMake and i'm receiving a linker error like
this:
std::basic_string<char, std::char_traits<char>, std::allocator<char> >

After few researches on the internet, i realized that this kind of error
occurs when compiling a C++ code with GCC, instead G++.

My question is: how can i force CMake to use G++ as default compiler?

Thanks in advance.

-- 
Best regards,

MaurĂ­cio Souza Klein.
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to