compiler-options Questions
3
I use -Wall and updating to new gcc I have got a lot of warning: narrowing conversion. I want to disable them, but leave all other warnings untouched (ideally).
I can find nothing about narrowing ...
Professional asked 30/11, 2013 at 16:24
3
Solved
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, retrying without
Have I exceeded...
Filing asked 6/5, 2014 at 16:19
2
I have a this Makefile
application=<somebinaryname>
CXXFLAGS=-g -std=c++14 -Wall -Werror -pedantic
LDFLAGS=-g
auto: $(application)
$(application): main.o aaa.o aab.o aba.o baa.o
$(CXX) $(...
Adorne asked 18/10, 2016 at 2:16
7
Solved
I'm just wondering what the -fpermissive flag does in the g++ compiler? I am getting:
error: taking address of temporary [-fpermissive]
which I can solve by giving the -fpermissive flag to the...
Strode asked 12/1, 2012 at 23:21
8
Solved
I'm using qmake and Visual Studio. In release build qmake adds /GL and /O2 flags to all projects, and I need to remove those two flags for certain libraries within my whole Qt project. Is there a w...
Equate asked 23/11, 2011 at 11:40
3
I installed Intel Compiler composer_xe_2013_sp1.3.174 on Linux. I am confused about the icc warnings. Feed icc with a simple program main.c as below:
int main(int argc, char **argv) {
int a = 1;
...
Eckmann asked 7/12, 2014 at 13:56
3
Solved
I'm using Codeblocks for a C program on Windows 7. The program is using the OMP library. GCC version is 4.9.2. Mingw x86_64-w64-mingw32-gcc-4.9.2.exe.
Flags used are: -fopenmp -O3 -mfpmath=sse -fu...
Mislay asked 17/11, 2015 at 14:7
1
Solved
In my test sources I want to use some experimental Kotlin compiler feature to not see the lint warnings and errors for them in Android Studio. For example, I want to apply the following Kotlin opti...
Desertion asked 5/11, 2020 at 15:19
2
As I understand it, --strictFunctionTypes compiler option in Typescript prevents a very common use case of polymorphism from working:
type Handler = (request: Request) => Response
const myHand...
Highkey asked 9/8, 2018 at 12:41
12
This is the message received from running a script to check if Tensorflow is working:
I tensorflow/stream_executor/dso_loader.cc:125] successfully opened CUDA library libcublas.so.8.0 locally
I te...
Blueberry asked 22/12, 2016 at 23:21
3
Solved
I have developed a cross-platform library which makes fair use of type-punning in socket communications. This library is already being used in a number of projects, some of which I may not be aware...
Irbm asked 17/10, 2013 at 16:3
7
Solved
I am trying to learn assembly language. I have searched and found how to disassemble a .c file but I think it produces some optimized version of the program. Is there any way so that I can see the ...
Kutuzov asked 23/4, 2011 at 17:58
1
Solved
Currently we compile and run code on same hardware, so -march=native flag is used.
We are going to keep running on this hardware but compile on different architecture. So I need to replace n...
Baseman asked 5/6, 2019 at 21:25
1
Solved
I'm trying to configure the paths for an Angular 6 library (I have successfully configured the paths for a previous Angular project)
Here is what is working for my previous app in the tsconfig.json...
Pearcy asked 3/9, 2018 at 9:46
2
Solved
What is the real difference between these two options? What I know is:
Register for COM Interop
This options executes regasm on the assembly and registers the assembly as an COM component(or maybe...
Disavow asked 13/9, 2010 at 10:58
1
Solved
Assuming any version of Node, how do I find the corresponding Typescript Compiler Option for target that gives most the functionality? I want to remove the guest work.
Specify ECMAScript target ...
Paronychia asked 2/1, 2019 at 19:49
1
Recently I caught a nasty bug caused by assignment in If statement. I consider if-assignment as a bad pattern for me and I want to turn it off completely to get the compiler varnings instead of act...
Assimilable asked 24/12, 2018 at 20:55
4
I would like to suppress any desired error; TS7017 is only an example.
Maybe it is possible now? Can TypeScript v4++ help?
I want to achieve something like (e.g., in the compilerOptions in tsconf...
Bookman asked 21/9, 2016 at 13:19
3
I'm constrained by a 128Kb limit executable size for an embedded PowerPC system. Unfortunately, using option -Os to optimize for size does not work due to what I believe is a compiler bug (link wit...
Greenwald asked 21/10, 2013 at 10:18
2
Solved
I can see that INCLUDE path is sysconfig.get_path('include').
But I don't see any similar value for LIB.
NumPy outright hardcodes it as os.path.join(sys.prefix, "libs") in Windows and get_config_...
Anguish asked 21/11, 2017 at 21:43
1
Solved
I am working on angular 4 project using gulp in Visual studio 2015.
I got the Visual Studio 2015 QuickStart from here.
tsc version: 2.5.2
My project structure:
src
└──angular
└──common
└──mo...
Herd asked 19/9, 2017 at 13:37
1
Solved
Is it safe to assume that running g++ with
g++ -std=c++98 -std=c++11 ...
will compile using C++11? I haven't found an explicit confirmation in the documentation, but I see the -O flags behave this...
Kalfas asked 12/11, 2016 at 13:20
2
Solved
When using a C or C++ compiler, if we pass the -O3 switch, execution becomes faster. In CUDA, is there something equivalent?
I am compiling my code using the command nvcc filename.cu. After that ...
Sunglass asked 30/4, 2017 at 13:10
1
Solved
gcc -m32 main.cpp
gcc -m64 main.cpp
gcc main.cpp
What's the differences between -m32, -m64, and nothing in gcc's options?
Anuradhapura asked 15/11, 2016 at 14:22
3
Solved
On OSX's development environment there is the concept of frameworks. A framework is a kind of bundle which contains headers, shared libraries and other useful stuff. A framework can be passed to th...
Elena asked 9/3, 2013 at 13:34
1 Next >
© 2022 - 2024 — McMap. All rights reserved.