Hi, I incorrectly get a warning when calling free() on an _Atomic pointer, and I suspect it will happen elsewhere too. Both Windows and Linux. Does _Atomics have some “special” qualifiers attached which gives this? You normally see it when violating constness.
_Atomic(long)* x = malloc(sizeof *x); … free(x); warning: assignment discards qualifiers from pointer target type Cheers Tyge Løvset Seniorforsker Senior Researcher +47 56 10 75 92 +47 932 67 779 Jahnebakken 5, 5007 Bergen, Norway [cid:NORCElogoe-mailsignature_8e86c798-aef0-4f72-a6e5-32122a33f894.png] norceresearch.no<https://www.norceresearch.no/>
_______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel