From 3b28df58dab36e1f894d048a0be73e7d37566b6b Mon Sep 17 00:00:00 2001 From: Harald Pichler Date: Mon, 17 Oct 2016 08:20:16 +0200 Subject: [PATCH] eliminate c++ string warnings --- examples/osd/arduino-climate3/sketch.pde | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/osd/arduino-climate3/sketch.pde b/examples/osd/arduino-climate3/sketch.pde index 3e729d277..3e59ad747 100644 --- a/examples/osd/arduino-climate3/sketch.pde +++ b/examples/osd/arduino-climate3/sketch.pde @@ -118,10 +118,12 @@ void setup (void) } // init coap resourcen rest_init_engine (); + #pragma GCC diagnostic ignored "-Wwrite-strings" rest_activate_resource (&res_htu21dtemp, "s/temp"); rest_activate_resource (&res_htu21dhum, "s/hum"); rest_activate_resource (&res_dtemp1, "s/tempd"); rest_activate_resource (&res_battery, "s/battery"); + #pragma GCC diagnostic pop } // at project-conf.h