Gang Of Coders
Home
About Us
Contact Us
All G++ Solutions on Gang of Coders
Total of 100 G++ Solutions
C++ Error 'nullptr was not declared in this scope' in Eclipse IDE
C++
G++
Eclipse Cdt
creating a shared_ptr from unique_ptr
C++
C++11
G++
Smart Pointers
Clang++
Difference between <cstring> and <string>
C++
Visual Studio
G++
error: expected class-name before ‘{’ token
C++
G++
Disabling C++ exceptions, how can I make any std:: throw() immediately terminate?
C++
Exception Handling
G++
Exit
How to make g++ search for header files in a specific directory?
Directory
G++
Header Files
Include Path
Undefined Symbol ___gxx_personality_v0 on link
C++
C
Gcc
G++
Why does typeid.name() return weird characters using GCC and how to make it print unmangled names?
C++
Gcc
G++
Rtti
note: 'person::person()' is implicitly deleted because the default definition would be ill-formed
C++
Struct
G++
C vs C++ compilation incompatibility - does not name a type
C++
C
Gcc
G++
Does the restrict keyword provide significant benefits in gcc/g++?
C++
C
Gcc
G++
Restrict Qualifier
How can I compile CUDA code then link it to a C++ project?
Cuda
G++
Nvcc
Why do I need to use typedef typename in g++ but not VS?
C++
G++
Typedef
Typename
Getting mangled name from demangled name
C++
G++
Name Mangling
Compilation error: "stddef.h: No such file or directory"
C++
G++
Cygwin
GCC dump preprocessor defines
Gcc
G++
C Preprocessor
Strange std::map behaviour
C++
Visual Studio-2012
G++
Is optimisation level -O3 dangerous in g++?
C++
Optimization
G++
Compiler Flags
to_string is not a member of std, says g++ (mingw)
C++
C++11
G++
Mingw
Tostring
gcc warning" 'will be initialized after'
G++
Suppress Warnings
g++ undefined reference to typeinfo
C++
Linker
G++
What is the difference between g++ and gcc?
C++
Gcc
G++
Disable all gcc warnings
Gcc
G++
Warnings
How to make a variadic macro (variable number of arguments)
C
G++
C Preprocessor
Variadic
Missing include "bits/c++config.h" when cross compiling 64 bit program on 32 bit in Ubuntu
Ubuntu
G++
32bit 64bit
Cross Compiling
Ubuntu 10.10
Undefined reference to static class member
C++
G++
How do I install g++ for Fedora?
C++
Linux
G++
Fedora
Dnf
How to see which flags -march=native will activate?
Gcc
G++
Compiler Optimization
Compiler Flags
LD_LIBRARY_PATH vs LIBRARY_PATH
Gcc
G++
Ld
Compiling with g++ using multiple cores
C++
Compiler Construction
Makefile
G++
Multicore
std::enable_if to conditionally compile a member function
C++
Templates
G++
C++11
Why does flowing off the end of a non-void function without returning a value not produce a compiler error?
C++
C
Gcc
G++
What's the point of g++ -Wreorder?
C++
G++
Compiler Warnings
What is the purpose of using -pedantic in the GCC/G++ compiler?
C++
C
Gcc
G++
error: use of deleted function
C++
Gcc
G++
C++11
Deleted Functions
How does #include <bits/stdc++.h> work in C++?
C++
Gcc
C++11
G++
What is a .h.gch file?
C++
G++
extra qualification error in C++
C++
G++
Compiler Errors
How to forward declare a template class in namespace std?
C++
Templates
G++
Flags to enable thorough and verbose g++ warnings
C++
G++
Warnings
How do I enable C++11 in gcc?
C++11
G++
How do I include a path to libraries in g++
Path
G++
How to tell where a header file is included from?
C++
C
Gcc
Include
G++
usr/bin/ld: cannot find -l<nameOfTheLibrary>
C++
Linux
G++
How to create a static library with g++?
C++
Gcc
Compiler Construction
G++
Different floating point result with optimization enabled - compiler bug?
C++
Optimization
G++
C++ Faq
How to specify preference of library path?
C++
Linker
G++
gcc/g++: "No such file or directory"
C++
C
Gcc
G++
C++ Faq
Compiling a C++ program with GCC
C++
Gcc
G++
Gnu
What does "-Wall" in "g++ -Wall test.cpp -o test" do?
C++
G++
Error: free(): invalid next size (fast):
C++
G++
What is the difference between gcc/g++ and cc1/cc1plus?
Gcc
G++
How to view symbols in object files?
C++
Linux
G++
Object Files
GNU GCC (g++): Why does it generate multiple dtors?
C++
G++
Destructor
cc1plus: error: unrecognized command line option "-std=c++11" with g++
C++
C++11
Compiler Errors
G++
Std
Undefined reference to vtable
C++
Gcc
G++
Compiling multithread code with g++
C++
Linux
Ubuntu
Gcc
G++
How can I improve performance via a high-level approach when implementing long equations in C++
C++
Performance
Optimization
Floating Point
G++
What are the correct link options to use std::thread in GCC under linux?
C++
Multithreading
G++
C++11
How to instruct GCC to stop after 5 errors?
C++
Gcc
G++
Initializing const member within class declaration in C++
C++
G++
G++ optimization beyond -O3/-Ofast
C++
G++
Compiler Optimization
Link error "undefined reference to `__gxx_personality_v0'" and g++
C++
G++
C++11 make_pair with specified template parameters doesn't compile
C++
Templates
G++
C++11
Rvalue Reference
How can I write a PowerShell alias with arguments in the middle?
Powershell
G++
Alias
Linking with dynamic library with dependencies
Gcc
Dll
Dependencies
G++
Why does this invalid-looking code compile successfully on g++ 6.0?
C++
G++
Which C++ standard is the default when compiling with g++?
C++
G++
Mingw
How to use profile guided optimizations in g++?
C++
Optimization
G++
Compiling C++11 with g++
C++
C++11
G++
Flags
Why should I initialize member variables in the order they're declared in?
C++
G++
Compiler Warnings
How to detect whether there is a specific member variable in class?
C++
Visual Studio
Templates
G++
Sfinae
make -j 8 g++: internal compiler error: Killed (program cc1plus)
Linux
Ubuntu
Gcc
G++
Mesos
How to speed up g++ compile time (when using a lot of templates)
C++
Templates
G++
Compilation
Dump include paths from g++
Path
Include
G++
Build Automation
How to compile C++ with C++11 support in Mac Terminal
C++
Macos
C++11
Terminal
G++
gcc/g++ option to place all object files into separate directory
Gcc
G++
g++ linker: force static linking if static library exists?
C++
C
Linker
G++
Static Libraries
GCC C++ Linker errors: Undefined reference to 'vtable for XXX', Undefined reference to 'ClassName::ClassName()'
C++
Linker
G++
Eclipse Cdt
Strange code that compiles with g++
C++
Gcc
C++11
G++
invalid conversion from `void*' to `char*' when using malloc?
C++
G++
Malloc
DSO missing from command line
C++
Linux
G++
Undefined Reference
How do I check if gcc is performing tail-recursion optimization?
Gcc
G++
Tail Recursion
C++ unordered_map using a custom class type as the key
C++
Hash
G++
Unordered Map
Hashtree
😃 (and other Unicode characters) in identifiers not allowed by g++
C++
Gcc
Unicode
C++11
G++
Tail recursion in C++
C++
Recursion
G++
Tail Recursion
Linker returns "relocation has an invalid symbol at symbol index..."
C++
Ubuntu
G++
How do I set up CLion to compile and run?
Gcc
G++
Clion
Jetbrains Ide
Update GCC on OSX
C++
Macos
Gcc
Compiler Construction
G++
Getting a bunch of crosses initialization error
C++
G++
Initialization
Switch Statement
"g++" and "c++" compiler
C++
Compiler Construction
Ubuntu
G++
Why vector<bool>::reference doesn't return reference to bool?
C++
Compiler Errors
G++
How do I capture all of my compiler's output to a file?
Linux
Shell
G++
Makefile
Io Redirection
My enum is not a class or namespace
C++
Enums
G++
C++11
error: ‘unique_ptr’ is not a member of ‘std’
C++
C++11
G++
Unique Ptr
Compile c++14-code with g++
C++
G++
Ubuntu 14.04
C++14
Disabling g++'s return-value optimisation
C++
Optimization
Compiler Construction
G++
Return Value-Optimization
Meaning of options in mingw-w64 installer
Windows
G++
Mingw W64
OS X 10.9 gcc links to clang
Gcc
G++
Osx Mavericks
openCV program compile error "libopencv_core.so.2.4: cannot open shared object file: No such file or directory" in ubuntu 12.04
C++
Ubuntu
Opencv
G++