4 ms·
What does "embedded" have to do with anything? #pragma once works fine in gcc-arm-none-eabi.
by CamperBob2 10y ago
What does "embedded" have to do with anything? #pragma once works fine in gcc-arm-none-eabi.
- fnj 10y agoI think he means you may not have #pragma once available in every embedded compiler. Embedded compilers are a mixed bag; gcc is a standout.
- llukas 10y agoYes there is world out there outside of gcc sphere ;)
- com2kid 10y agoEven ARM's embedded cortex-m compilers have supported #pragma once for years now. Maybe some of the 8-bit micros still don't..?
- fnj 10y agoDidn't you ever have to program a Persistor 68332 with an ancient version of CodeWarrior? How about CCS C for the 18F PIC?
- com2kid 9y agoThankfully no, M0s nearly come in cracker jack boxes now days. A lot of what used to be on 8bits are moving to M0s because why the heck not. Commercially advertised prices are around 60 cents in bulk, corporate buys in the 100s of thousands are going to be cheaper than that. Death to 8bits! :)