Category "g++"

MulVAL: make[1]: *** [Makefile:4: attack_graph] Error 1

I'm trying to compile MulVal, everything is already setup tried all of the solutions, getting this error, don't know if it was from the compiler or the code it

How to Install compiler g++-4.8.5 in ubuntu 20.04

As the title said I can't install that specific version of g++ in my current ubuntu (20.04). I have been trying the usual things as: sudo apt install g++- (and

Tasks.json does not accept wildcard for multiple files

I have a folder with multiple cpp files that I want to compile to a DLL with g++ (MinGW). My Tasks.json looks like this: { // See https://go.microsoft.com/fwlin

g++ Static analysis: false positive with -fanalyzer?

Running this very little snippet, to show a problem I have with a much larger code: // Type your code here, or load an example. #include <iostream> #inclu

Compatibility issues with Oracle OCCI and g++ 7.1

I am trying to create a C++ application with OCCI (versions 11,12,18, all lead to the same issue explained below) using gcc 7.1. The application below compiles

Cannot link library for macOS-arm64 with executable for macOS-arm64

I have some trouble with creating a build system on a **Monterey M1 MacBook**: So far I have a working Makefile to build and link a library. (simplified: g++ -

Compiling c++ OpenACC parallel CPU code using GCC (G++)

When trying to compile OpenACC code with GCC-9.3.0 (g++) configured with --enable-languages=c,c++,lto --disable-multilib the following code does not use multipl

Why doesn't MinGW's linker recognise libgslcblas.dll.a?

Solution: I can now include libgsl and libgslcblas when I compile minimal code in the /home/HORTICULTIST location in cygwin's directory. Before I set the enviro

How to include omp.h in OS X?

I'm new in C and have some problems compiling my code in OS X. I code Java a lot both in Eclipse and use terminal to compile my code. However now I'm learning

How does #include <bits/stdc++.h> work in C++? [duplicate]

I have read from a codeforces blog that if we add #include <bits/stdc++.h> in a C++ program then there is no need to include any other h

VScode compile C++ on windows the exe not found

I want to ask how to debug a simple hello world output from a C++ file, on the launch file I have to put the executable but I have only created a C++ file, how

Error in simple g++ inline assembler

I'm trying to write a "hello world" program to test inline assembler in g++. (still leaning AT&T syntax) The code is: #include <stdlib.h> #include &

c++ undefined reference to vtable

I'm learning C++. I'm trying to do an exercise where I define several implementations of a pure virtual class with a single function. I'm having trouble linking