This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/26356 ) Change subject: logging: allow disabling macros using a new define: LIBOSMOCORE_NO_LOGGING ...................................................................... logging: allow disabling macros using a new define: LIBOSMOCORE_NO_LOGGING This was previously unconditionally defined, so embedded targets were unable to get rid of the log macros and functions. Change-Id: I589f93d98a6bc5cf6221c56e2fe3f27bfdd200e8 --- M include/osmocom/core/logging.h 1 file changed, 4 insertions(+), 0 deletions(-) Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h index a554adc..a95c478 100644 --- a/include/osmocom/core/logging.h +++ b/include/osmocom/core/logging.h @@ -15,6 +15,10 @@ #define DEBUG #endif +#ifdef LIBOSMOCORE_NO_LOGGING +#undef DEBUG +#endif + #ifdef DEBUG /*! Log a debug message through the Osmocom logging framework * \param[in] ss logging subsystem (e.g. \ref DLGLOBAL) -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/26356 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I589f93d98a6bc5cf6221c56e2fe3f27bfdd200e8 Gerrit-Change-Number: 26356 Gerrit-PatchSet: 2 Gerrit-Owner: Hoernchen <ewild at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211126/c9ac44e3/attachment.htm>