[MERGED] libosmocore[master]: serial.c: Use pragma message instead of warning

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/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Fri Jun 23 15:42:43 UTC 2017


Pau Espin Pedrol has submitted this change and it was merged.

Change subject: serial.c: Use pragma message instead of warning
......................................................................


serial.c: Use pragma message instead of warning

Change-Id: I65b1ef6e4b9ba0bf0c3c2f03311250f31ddb308a
---
M src/serial.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/serial.c b/src/serial.c
index dddad88..8ddd38e 100644
--- a/src/serial.c
+++ b/src/serial.c
@@ -202,7 +202,7 @@
 	}
 	return 0;
 #else
-#warning osmo_serial_set_custom_baudrate: unsupported platform
+#pragma message ("osmo_serial_set_custom_baudrate: unsupported platform")
 	return 0;
 #endif
 }

-- 
To view, visit https://gerrit.osmocom.org/3023
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I65b1ef6e4b9ba0bf0c3c2f03311250f31ddb308a
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list