-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
?
cxx/Macros.hxx
: +SUSUWU_DEFAULT, +SUSUWU_FINAL,
+`SUSUWU_DELETE`, +`SUSUWU_OVERRIDE`: common C++11 attributes, which turn into no-ops if `!defined(SUSUWU_CXX11)` -- progress to issue #20 (C++98 support.) +`SUSUWU_C99`, `SUSUWU_CXX98`: Usage: `#ifdef SUSUWU_C99`, `#ifdef SUSUWU_CXX98`. +`SUSUWU_EXTERN`, +`SUSUWU_STATIC`, +`SUSUWU_INLINE`: Wrap `extern`, `static`, `inline` for possible future instrumentation/diagnostic use. +`SUSUWU_NULLPTR`: if `defined(SUSUWU_CXX11)`; `nullptr`, else; `NULL`. ?`SUSUWU_SH_FUNC`: if `!defined(SUSUWU_C99) && !defined(SUSUWU_CXX11)`, `__func__` deactivates. ?`cxx/ClassCns.*xx`, `cxx/ClassPortableExecutable.hxx`, `cxx/ClassResultList.hxx``: `:%s/override/SUSUWU_OVERRIDE/`. ?`cxx/ClassCns.hxx`, ?`cxx/ClassObject.hxx`: `:%s/= default/= SUSUWU_DEFAULT/`. ?`cxx/ClassSys.*xx`: `:%s/nullptr/SUSUWU_NULLPTR/`. ?`cxx/Macros.cxx: +`MacrosCxx11InheritanceTest`: tests `SUSUWU_DEFAULT`, tests `SUSUWU_DELETE`. +`MacrosCxx11InheritanceTestSubclass`: tests `SUSUWU_OVERRIDE`. +`MacrosCxx11InheritanceTestSubclass2`: tests `SUSUWU_FINAL`. If those compile, the test passes. ?`posts/VirusAnalysis.md`: Include all this. ?`README.md`: -`Targets:`, +`Minimum requirements (build targets which this supports):`: list what more there is to do for #3, #20 Is followup to: commit bf1fec0 (... ?`cxx/Macros.hxx`: +`SUSUWU_POSIX` +`SUSUWU_WIN32` +`SUSUWU_HAS_FEATURE` +`SUSUWU_HAS_ATTRIBUTE`), e6ef262 (+`SUSUWU_C11`. +`SUSUWU_CONSTEXPR` ... `%s/noexcept/SUSUWU_NOEXCEPT/`), 08ed827 (?`cxx/macros.hxx`: +`SUSUWU_CXX11`, ...)
- Loading branch information
1 parent
bf1fec0
commit 4920b4a
Showing
11 changed files
with
261 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.