August 09 Learn » Re: Build fully static library by the compiler? | |||
|---|---|---|---|
| |||
...ldc2 -c hello.d # creates hello.o
$ gcc hello.o /usr/lib/x86_64-linux... | |||
August 03 Learn » importC Error: unsigned __int128 not supported | |||
|---|---|---|---|
| |||
...flags to fix it: ```sh /usr/lib/gcc/x86_64-linux-gnu/12/include/bmi2intrin... | |||
July 27 General » dmd now running tests on the Pi | |||
|---|---|---|---|
| |||
...switching to the pi window:
raspberrypi:~/test $ gcc test.o
raspberrypi:~/test $ ./a.out
a... | |||
July 27 General » Re: dmd's optimizer detects intraprocedural cases of null dereferences | |||
|---|---|---|---|
| |||
...depends on the optimization options used. [1] https://gcc.gnu.org/gcc-6/changes.html | |||
July 28 General » Re: dmd's optimizer detects intraprocedural cases of null dereferences | |||
|---|---|---|---|
| |||
...int*)0;
*p = 3;
return 0;
}
```
GCC args: ``-fanalyzer``
GCC Output:
```
<source>: In function 'main... | |||
July 27 General » dmd's optimizer detects intraprocedural cases of null dereferences | |||
|---|---|---|---|
| |||
...at gcc:
```
void func()
{
int* p = (int*)0;
*p = 3;
}
```
```
> gcc -c null.c
> gcc... | |||
July 27 General » Re: [Not really OT] Crowdstrike Analysis: It was a NULL pointer from the memory unsafe C++ language. | |||
|---|---|---|---|
| |||
...null-dereference https://gcc.gnu.org/onlinedocs/gcc-10.1.0/gcc/Static-Analyzer-Options... | |||
July 24 General » Re: D not considered memory safe | |||
|---|---|---|---|
| |||
...seen all the C extensions VC and gcc have? It makes for an excessively large... | |||
July 19 Issues » [Issue 24667] New: goo.gl is going away | |||
|---|---|---|---|
| |||
...com Hi, I am just a friendly GCC developer who noticed that there are some... | |||
July 17 General » Re: We should deprecate -release | |||
|---|---|---|---|
| |||
...release" means "gcc -O2 -g0 ..." In my C and C++ brain: "-debug" means "gcc -Wall... | |||
Copyright © 1999-2021 by the D Language Foundation