gcc
Storing changes made to an array of variables
I am storing the positions of players for a program i am writing to arrays stored as global variables, an example of which is:[详细]
2023-04-12 23:08 分类:问答Why does GCC warn against this implicit conversion?
GCC warns me that the following piece of code contains an implicit conversion that may change a value:[详细]
2023-04-12 22:28 分类:问答undefined reference to `__gxx_personality_sj0`
With gcc 4.6 when trying to execute this code: #include <iostream> using namespace std; #include <bitset>[详细]
2023-04-12 22:22 分类:问答how to make sure a program or shared library is compiled with -g, in linux
I want to make sure my execute program is debug开发者_高级运维-able, what command can get the infomation.I am a fan of using file to get information on executables and shared libraries.[详细]
2023-04-12 22:08 分类:问答Installing pycurl on OS X 10.7 Lion
I\'m trying to install PyCurl in my local environment which has python 2.7 and gcc-4.2 on OS X 10.7 Lion. I\'ve tried doing this based on this answer Error installing PyCurl:[详细]
2023-04-12 20:58 分类:问答GCC 4.1.2 compilation error for stl_vector.h
I am getting the following error for STL files on GCC 4.1.2. And the same code works properly without any compilation errors on GCC 3.4.6.[详细]
2023-04-12 19:33 分类:问答Impossible linker error
I have a library, libfoo which is made of the following files: base.hpp #ifndef BASE_HPP #define BASE_HPP[详细]
2023-04-12 19:00 分类:问答gcc option to ignore the libstdc++.so.5 dependency
after building the shared librrary using gcc, the shared library builds fine, but when i issue \"ldd\" it give me the dependency on \"libstdc++.so.5\" is there any w开发者_如何学Goay to tell the compi[详细]
2023-04-12 16:55 分类:问答Why doesn't this program segfault?
What causes the output \"Hello\" when I enable -O for gcc ? Shouldn\'t it still segfault (according to this wiki) ?[详细]
2023-04-12 16:39 分类:问答What is the difference between copying unsigned int 2 times and unsigned long 1 time in 64 bit systems?
What is the difference between *(unsigned*)d = *(unsigned*)s; d+=4; s+=4; *(unsigned*)d = *(unsigned*)s;[详细]
2023-04-12 15:53 分类:问答