Don’t Follow These 5 Dangerous Coding Standard Rules « Barr Code

Don’t Follow These 5 Dangerous Coding Standard Rules « Barr Code

瀏覽:323
日期:2025-10-07
While “const XXX;” will cause the compiler to allocate space for XXX (possibly in ROM, depending on your tool chain), “static const XXX;” will often cause the compiler to optimize out the allocation — certainly the gnu compiler is pretty good about this f...看更多