mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-23 07:13:44 +02:00
![]() In C, variables defined as `const` have external linkage. In C++, variables defined as `const` have internal linkage, and we need to define them as `extern const` for them to have external linkage like in C. However, in C, defining a variable as `extern const` throws a compiler error, so we need to add `extern` only for C++ files. |
||
---|---|---|
.. | ||
embedtool.cpp | ||
meson.build |