g++
Problems compiling an c++ application using QT and OpenGL
I\'m following this tutorial for building a simple OpenGl application in C++ using QT. I\'m trying to compile the application using g++ and the command line but I get the following errors:[详细]
2023-04-11 01:39 分类:问答How to reduce file size of g++ compiled shared object?
I have a shared object (.so) file compiled with g++, in Windows, its size about 2MB (.DLL, compiled with Visual Studio 2008, /O2), but in Linux, its size is 10MB if compiled with g++ -O2 flag.[详细]
2023-04-10 16:23 分类:问答Building dll with g++ for use with MSVC application
My end-goal here is to execute g++ from my MSVC application to build dlls at runtime. The dlls which g++ creates will then be loaded by the MSVC app for use.[详细]
2023-04-10 15:17 分类:问答Member function declared, but compiler says its not
This is my Position.h file: #ifndef POSITION_H_ #define POSITION_H_ class Position{ public: Position(int v);[详细]
2023-04-10 13:09 分类:问答Updating Apple g++/gcc
What is the difference between Apple gcc and GNU gcc? Is Apple gcc a superset of the standard one? The g++ version information in my OSX shows:[详细]
2023-04-10 04:59 分类:问答g++ expected unqualified-id before ‘(’ token
I\'m getting this error when using stl_vector.h. I\'m on Linux using g++ to compile. { if (max_size() - size() < __n)[详细]
2023-04-10 03:17 分类:问答g++ undefined reference in very simple example
Please help with the following noob question about C++ and g++ compilation and linking.Essentially I have 2 classes in 2 different files, and can compile them but when I attempt to link, one class can[详细]
2023-04-10 00:08 分类:问答int(int(-2)/unsigned(2)) = 2147483647 no warning
I have a code similar to this: template<typename Ta, typename Tb> Ta doStuff(Ta a, Tb b) { ... return a/b;[详细]
2023-04-09 15:30 分类:问答What does the 'hides constructor for' warning mean when compiling C++ with g++?
Using the following code: #include <stdio.h> struct my_struct { int a; int b; my_struct(); }; my_struct::my_struct(void)[详细]
2023-04-09 06:59 分类:问答"Unresolved overloaded function type" while trying to use for_each with iterators and function in C++
//for( unsigned int i=0; i < c.size(); i++ ) tolower( c[i] ); for_each( c.begin(), c.end(), tolower );[详细]
2023-04-08 12:37 分类:问答