Branch: refs/heads/main Home: https://github.com/OpenAMP/libmetal Commit: 548f6428557acaa1ac218ab74b1e04b16f183f1c https://github.com/OpenAMP/libmetal/commit/548f6428557acaa1ac218ab74b1e04b16... Author: Sergei Korneichuk sergei.korneichuk@amd.com Date: 2023-08-21 (Mon, 21 Aug 2023)
Changed paths: M lib/atomic.h
Log Message: ----------- Export each of the memory_order enumerators
The lib/atomic.h exports memory_order enum into the global namespace, but none of its enumerators. According to Section 7.3.3 "The using declaration" of the C++ standard: "specifying an enumeration name in a using-declaration does not declare its enumerators in the using-declaration's declarative region." See also: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0943r1.html
Signed-off-by: Sergei Korneichuk sergei.korneichuk@amd.com
openamp-rp@lists.openampproject.org