[PATCH] 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 09:06:49 UTC 2017


Review at  https://gerrit.osmocom.org/3023

serial.c: Use pragma message instead of warning

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


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/23/3023/1

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: newchange
Gerrit-Change-Id: I65b1ef6e4b9ba0bf0c3c2f03311250f31ddb308a
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list