g++
g++ error: ‘malloc’ was not declared in this scope
I\'m using g++ under Fedora to compile an openGL project, which has the line: textureImage = (GLubyte**)malloc(sizeof开发者_如何学运维(GLubyte*)*RESOURCE_LENGTH);[详细]
2023-03-27 03:50 分类:问答Building PJSIP using g++ compiler
I want to compile PJSIP library using g++ compiler in a Debian OS.Could any one help me with the appropriatesteps to 开发者_如何学Godo the same?According to INSTALL.txt you should:[详细]
2023-03-26 23:59 分类:问答Illegal instruction while compiling with g++
I have the problem that a C++ program running under linux, compiled with g++ raises after some time a illegal instruction exception and I get a core dump. When I do a backtrace using gdb I get[详细]
2023-03-26 22:35 分类:问答Fix broken links on shared library g++
I have an executable which links to opencv 2.2. However, I have removed opencv 2.2 and I have opencv 2.3 installed.[详细]
2023-03-26 18:27 分类:问答What's a "recursive_init_error" exception?
I decided to do a test with computed gotos and local statics void g() { std::cout << \"init \"; }[详细]
2023-03-26 14:14 分类:问答String.h Errors From g++ Compilation
I cannot make heads or tails of the following C++ error generated by g++ /tmp/ccH0IPVU.o: In function `myAPP::mandatory_bitfield_t::to_s(std::basic_string<char, std::char_traits<char>, std::[详细]
2023-03-26 11:30 分类:问答"undefined reference to" using 'g++' to compile a C++ program
I can\'t seem to get the errors to go away. The errors are below. I have looked on Google Search and still I can\'t figure it out. It is not like I am new to C++, but I have not fooled around with it[详细]
2023-03-26 07:56 分类:问答stacktrace and functions in namespaces
I am trying to get a backtrace at some point of the execution of my (c++) program. for that I am using backtrace and backtrace_symbols. Something along this lines:[详细]
2023-03-26 04:38 分类:问答By-reference / by-pointer in assembly code
I wanted to see how calling by-reference differs from by-pointer in C++. However, the g++ compiler (using -O0 -S) produces identical code.[详细]
2023-03-25 21:40 分类:问答Are there conditions under which using "__attribute__((warn_unused_result))" will not work?
I have been trying to find a reason why this does not work in my code - I think this should work. Here is an excerpt from a header file:[详细]
2023-03-25 21:35 分类:问答