CompilerId: Ensure internal compiler version string is not optimized out
This was missed in commit 27579e9cf1
(FujitsuClang: Add support for the
Fujitsu compiler in Clang mode, 2020-12-22, v3.21.0-rc1~402^2~5).
This commit is contained in:
parent
d625c54141
commit
cac5eb3df2
@ -96,7 +96,7 @@ int main(int argc, char* argv[])
|
|||||||
#ifdef COMPILER_VERSION_MAJOR
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
require += info_version[argc];
|
require += info_version[argc];
|
||||||
#endif
|
#endif
|
||||||
#ifdef COMPILER_VERSION_INTERNAL
|
#if defined(COMPILER_VERSION_INTERNAL) || defined(COMPILER_VERSION_INTERNAL_STR)
|
||||||
require += info_version_internal[argc];
|
require += info_version_internal[argc];
|
||||||
#endif
|
#endif
|
||||||
#ifdef SIMULATE_ID
|
#ifdef SIMULATE_ID
|
||||||
|
@ -127,7 +127,7 @@ int main(int argc, char* argv[])
|
|||||||
#ifdef COMPILER_VERSION_MAJOR
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
require += info_version[argc];
|
require += info_version[argc];
|
||||||
#endif
|
#endif
|
||||||
#ifdef COMPILER_VERSION_INTERNAL
|
#if defined(COMPILER_VERSION_INTERNAL) || defined(COMPILER_VERSION_INTERNAL_STR)
|
||||||
require += info_version_internal[argc];
|
require += info_version_internal[argc];
|
||||||
#endif
|
#endif
|
||||||
#ifdef SIMULATE_ID
|
#ifdef SIMULATE_ID
|
||||||
|
@ -68,7 +68,7 @@ int main(int argc, char* argv[])
|
|||||||
#ifdef COMPILER_VERSION_MAJOR
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
require += info_version[argc];
|
require += info_version[argc];
|
||||||
#endif
|
#endif
|
||||||
#ifdef COMPILER_VERSION_INTERNAL
|
#if defined(COMPILER_VERSION_INTERNAL) || defined(COMPILER_VERSION_INTERNAL_STR)
|
||||||
require += info_version_internal[argc];
|
require += info_version_internal[argc];
|
||||||
#endif
|
#endif
|
||||||
#ifdef SIMULATE_ID
|
#ifdef SIMULATE_ID
|
||||||
|
@ -68,7 +68,7 @@ int main(int argc, char* argv[])
|
|||||||
#ifdef COMPILER_VERSION_MAJOR
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
require += info_version[argc];
|
require += info_version[argc];
|
||||||
#endif
|
#endif
|
||||||
#ifdef COMPILER_VERSION_INTERNAL
|
#if defined(COMPILER_VERSION_INTERNAL) || defined(COMPILER_VERSION_INTERNAL_STR)
|
||||||
require += info_version_internal[argc];
|
require += info_version_internal[argc];
|
||||||
#endif
|
#endif
|
||||||
#ifdef SIMULATE_ID
|
#ifdef SIMULATE_ID
|
||||||
|
Loading…
Reference in New Issue
Block a user