79183167

Date: 2024-11-13 01:47:45
Score: 1.5
Natty:
Report link

I was trying to build such a test framework with auto register. With msvc it runs well, but with gcc the static member in test case cpp ,which is supposed to execute ctor and call the register function,failed to execute ctor at all. I think this has to be something with the static initialization order, but can't get any clue about how to fix it.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: rm yang