gcc7 Questions
4
Solved
I'm trying to compile C code on a Jetson Nano and I get this error during compiling. I tried removing any occurrence of 'm -64' but it seems like its added automatically. This is the cmd where it f...
0
I was getting this error:
error while loading shared libraries: libgfortran.so.4: cannot open shared object file: No such file or directory
To resolve this, I searched "libgfortran.so.4"...
Sanctus asked 2/6, 2023 at 9:34
3
The program contains code like follows:
int size;
...
int *pi = (int*)calloc(size, sizeof(int));
...
Here is the error message when compiled with gcc7.2:
error: argument 1 range [184467440715...
1
Solved
I wanted to install updated version of gcc on a server where I do not have root access. I tried
conda install -c creditx gcc-7
which was not working. Then I found
conda install -c anaconda gcc_lin...
5
Solved
I am trying to compile my project with new GCC version 7.2.1 and have a problem with dynamic exception specifications:
error: ISO C++1z does not allow dynamic exception specifications
MEMORY_ALLO...
Curculio asked 14/11, 2017 at 11:31
4
Solved
1
Solved
I've upgraded my Linux development VM from Ubuntu 16.04 to 18.04 recently, and noticed one thing that has changed. This is on x86-64. With 16.04, I've always had this workflow where I'd build the p...
Intromit asked 3/1, 2019 at 13:4
1
Solved
Previously, with Apple LLVM 9.1.0, is_lock_free() on 128-bit structures have returned true. To have complete std::optional support, I then upgraded to MacPorts gcc 7.3. During my first try to compi...
2
Solved
My understanding of the L1 cache was that a memory fetch loads a cache line. Assuming the cache line size is 64 bytes, if I access memory at address p, it will load the entire block from p to p + 6...
Howells asked 14/2, 2018 at 6:58
2
Solved
After upgrading from Fedora 25 to 26 the default gcc version is now version 7.1.1 and the output of gcc -dumpversion has changed from major.minor.patch to just major.
new output:
$ gcc -dumpvers...
2
While writing some code targeting C++17, I kind of hit a stumbling block determining the exception-safety of an operation merging two compatible std::unordered_maps. Per the current working draft, ...
Untune asked 13/6, 2017 at 19:47
2
Solved
Consider:
struct Point { int x, y; };
int main()
{
const auto [x, y] = Point{};
}
This code compiles fine with gcc 7.1 in C++17 mode, however this one:
#include <utility>
struct Point ...
Alvinaalvine asked 10/5, 2017 at 13:56
1
© 2022 - 2025 — McMap. All rights reserved.