Top "Compiler-options" questions

Compiler-options are parameters that are being passed to the compiler and that affect the compilation process or its resulting product.

gcc with -Werror and -Wno-error=unused

I always compile with -Wall -Wextra -Werror. However many times as I do quick compile tests I need to ignore …

gcc compiler-warnings compiler-options
Google protocol buffers cross compiling

My problems of using Google protocol buffers has two parts, one is about compiler options, another is cross compiling. The …

compiler-errors cross-compiling compiler-options
How can I get the nvcc CUDA compiler to optimize more?

When using a C or C++ compiler, if we pass the -O3 switch, execution becomes faster. In CUDA, is there …

cuda nvcc compiler-options
Adjust Variable Tracking Assignment Length

In a release build I'm getting the following informational warning from GCC 4.4.7. note: variable tracking size limit exceeded with -fvar-tracking-assignments, …

c++ gcc compiler-options
How can I set the language_in option for the Closure compiler?

I need to set the language_in option on the Closure compiler to prevent the IE8 parse error: ERROR - …

javascript google-closure-compiler compiler-options
Qmake: how to remove compiler flag for a certain project, without changing qmake.conf?

I'm using qmake and Visual Studio. In release build qmake adds /GL and /O2 flags to all projects, and I …

c++ qt qmake compiler-options
What's the difference in GCC between -std=gnu++0x and -std=c++0x and which one should be used?

I'm having troubles with <stdint.h> when using -std=c++0x in GCC 4.4.3 (for Android): // using -std=c++0…

android c++ gcc c++11 compiler-options
What's the differences between -m32, -m64, and nothing in gcc's options?

gcc -m32 main.cpp gcc -m64 main.cpp gcc main.cpp What's the differences between -m32, -m64, and nothing in …

gcc compiler-options
The g++'s -g option equivalent to VS2010 cl compiler?

With g++ with -g option, I can use gdb for debugging purposes. What's the equivalent to this option with Visual …

visual-studio debugging visual-c++ visual-c++-2010 compiler-options
Suppressing certain errors e.g. TS7017 in tsconfig.json

Is it possible, if yes, how? I want to achieve something like (e.g., in the compilerOptions in tsconfig.json): // …

typescript compiler-errors compiler-options tsconfig