gcc tag

31 questions


2 answers
261 views
0
What are the advantages of making double an 8-byte alignment with the -malign-double option?

What are the specific benefits of double being an 8-byte alignment with the -malign-double option?

2 years ago

1 answers
99 views
0
consolidate the minimum compilation environment into a single file

Can I consolidate the minimum environment required for compilation into a single executable file?I would like to have a C compiler environment that can be carried in USB memory, and I would like to re...

2 years ago

1 answers
130 views
0
The GCC compiler has an error even though the path is passing.

Here's the program.#include<stdio.h> int main(void){ printf(Hello world!); return 0;}  The error was long, so I put it here.https://pastebin.com/hbZcTR4tIt's not that I don't have a header file...

2 years ago

4 answers
137 views
0
When compiling with c99 option in TDM-GCC 5.1.0, printf %lf output is different than expected

If you compile TDM-GCC 5.1.0 with c99 as shown in gcc-std=c99-pedantic test.c, the output of %lf will be 0.0000.Source code of interest:#include<stdio.h>int main(void){ double v=3.1415926; print...

2 years ago

1 answers
83 views
0
When Python is embedded from C language, an error occurs in which Py_Initialize() does not exist.

Nice to meet you.I recently started Python.We are currently developing in C language and would like to do some of the processing in Python.I used this article to embed Python.http://d.hatena.ne.jp/msc...

2 years ago

1 answers
78 views
0
A compilation error occurs when a variable is included in the sqrt() argument.undefined reference. What should I do?

As in the comment out statement, there is no problem if you directly substitute a number, but if you insert a variable, you will get a compilation error.What should I do?running environment:Ubuntugcc ...

c gcc
2 years ago

1 answers
110 views
0
There is no directory when writing the MinGW gcc compiler.error

C:\Users\ob\AppData\Local\Temp\ccFJqNal.sgcc.exe:error:CreateProcess:No such file or directoryThis User/ob/ So far, it was created during installation with Win's Dir.After that, I tried to make Appdat...

2 years ago

1 answers
132 views
0
Please let me know where to fix the sync error in windows 7mingw windowres.

http://wisdom.sakura.ne.jp/system/winapi/win32/win85.htmlThe second resource in the above sample fails./*Resource Script*/KITTY DIALOG 10, 10, 100, 50FONT12, MS Gothic.CAPTION Magic nyanyan TARUTO {LT...

2 years ago

1 answers
83 views
0
Check reference passing when passing objects with heavy C++ generation and release to functions with const

In C++, you may forget to refer to objects with heavy generation and release, such as std::set, when passing them to a function with const.Do you have any existing code review tools or compiler option...

2 years ago

1 answers
97 views
0
Error with type socklen_t in building Guile on CentOS

In CentOS 6.9 (real machine), ./configure when trying to build guide-2.2.2running checking for socklen_t...nochecking for socklen_tequivalent...configure:error:Cannot find a type to use in place of so...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.