This repository has been archived by the owner on Feb 27, 2023. It is now read-only.
[boost.c] is ill-formed (no diagnosis required): The Standard reserves function names beginning with ‘str’ or ‘mem’ for possible future use. #36
Labels
Hi,
Issue:
GTAO_Booster_PoC/boost.c
Line 33 in fd8eaa8
The name
strlen_cached
is reserved by the standard.cf: ISO/IEC 9899:201x
NB: Also reserved are… Well, there's a fat list, really.
Here is the most useful link you'll ever get for fast reference to the C and C++ Standards and libraries:
cppreference.com C Reserved Identifiers
Current Behavior:
Undefined. Any, or none.
Expected Behavior:
The behavior of an identical function given a valid, unreserved, name.
Proposed Solution:
Change the name of the function. eg:
cached_strlen
The text was updated successfully, but these errors were encountered: