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/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/17652 ) Change subject: fix: properly include pure C headers from C++ code ...................................................................... fix: properly include pure C headers from C++ code Header files included from libosmocore may potentially contain some language constructions allowed in C but not in C++, such as type casting. Let's add 'extern "C" { ... }' and be safe. Change-Id: I7197f7b34f30b49d5397506ce9d67cbf0e2cc196 --- M src/gprs_debug.cpp M src/gprs_rlcmac_meas.cpp 2 files changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/52/17652/1 diff --git a/src/gprs_debug.cpp b/src/gprs_debug.cpp index 91933a2..58b7e3e 100644 --- a/src/gprs_debug.cpp +++ b/src/gprs_debug.cpp @@ -18,8 +18,11 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +extern "C" { #include <osmocom/core/utils.h> #include <osmocom/core/logging.h> +} + #include <gprs_debug.h> /* default categories */ diff --git a/src/gprs_rlcmac_meas.cpp b/src/gprs_rlcmac_meas.cpp index 998e01c..441f58d 100644 --- a/src/gprs_rlcmac_meas.cpp +++ b/src/gprs_rlcmac_meas.cpp @@ -17,7 +17,9 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +extern "C" { #include <osmocom/core/timer_compat.h> +} #include <gprs_rlcmac.h> #include <gprs_debug.h> -- To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/17652 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Change-Id: I7197f7b34f30b49d5397506ce9d67cbf0e2cc196 Gerrit-Change-Number: 17652 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <axilirator at gmail.com> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200328/c7b3a419/attachment.htm>