Currently, FORBID_C_FUNCTION only works for gcc like compilers, and ALLOW_C_FUNCTION acts to disable CRT warnings on Windows, where FORBID_C_FUNCTION does not work. It would be beneficial to provide a universal portable definition for both, to reduce maintenance cost and to allow the macros to work on all platforms HotSpot can be compiled for
- clones
-
JDK-8313396 Portable implementation of FORBID_C_FUNCTION and ALLOW_C_FUNCTION
-
- Closed
-
- relates to
-
JDK-8347703 HotSpot Style Guide needs update for deprecated attribute
-
- Open
-
-
JDK-8347707 Prefer os::snprintf instead of ::snprintf
-
- Open
-
There are no Sub-Tasks for this issue.