Re: #pragma once

2022-10-16 Thread Joerg Sonnenberger
Am Sat, Oct 15, 2022 at 07:21:35PM + schrieb Taylor R Campbell: > How reliable/consistent is toolchain support for it? Is it worth > adopting or is the benefit negligible over continuing to use > traditional #include guards? Likely problems with adopting it? Does it gain anything beside a

Re: #pragma once

2022-10-16 Thread Greg Troxel
My quick reaction is that we should stick to actual standards, absent a really compelling case. This isn't compelling to me, and the point that linting for wrong usage isn't hard is a good one. I happen to be in the middle of a paper (from the guix crowd) about de-boostrapping ocaml. It's

Re: #pragma once

2022-10-16 Thread Anders Magnusson
Den 2022-10-16 kl. 00:17, skrev matthew green: it seems that pcc is missing '#pragma once' support. at least, the version in src. ragge, can you fix it? :-) thanks. Hehe :-)  No problem, should be close to trivial. I think best way to detect the same file would be to just save the inode