@@ -246,7 +246,7 @@ jobs:
246246 #include "examples/example_null/main.cpp"
247247
248248 EOF
249- g++ -I. -Wall -Wformat -Wextra -Werror -Wno-zero-as-null-pointer-constant -Wno-double-promotion -Wno-variadic-macros -Wno-empty-body -o example_single_file example_single_file.cpp
249+ g++ -I. -std=c++11 - Wall -Wformat -Wextra -Werror -Wno-zero-as-null-pointer-constant -Wno-double-promotion -Wno-variadic-macros -Wno-empty-body -o example_single_file example_single_file.cpp
250250
251251 - name : Build example_null (freetype)
252252 run : |
@@ -262,7 +262,7 @@ jobs:
262262 #include "examples/example_null/main.cpp"
263263
264264 EOF
265- g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp
265+ g++ -I. -std=c++11 - Wall -Wformat -o example_single_file example_single_file.cpp
266266
267267 - name : Build example_null (with ImWchar32)
268268 run : |
@@ -274,7 +274,7 @@ jobs:
274274 #include "examples/example_null/main.cpp"
275275
276276 EOF
277- g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp
277+ g++ -I. -std=c++11 - Wall -Wformat -o example_single_file example_single_file.cpp
278278
279279 - name : Build example_null (with large ImDrawIdx + pointer ImTextureID)
280280 run : |
@@ -287,7 +287,7 @@ jobs:
287287 #include "examples/example_null/main.cpp"
288288
289289 EOF
290- g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp
290+ g++ -I. -std=c++11 - Wall -Wformat -o example_single_file example_single_file.cpp
291291
292292 - name : Build example_null (with IMGUI_DISABLE_OBSOLETE_FUNCTIONS)
293293 run : |
@@ -299,7 +299,7 @@ jobs:
299299 #include "examples/example_null/main.cpp"
300300
301301 EOF
302- g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp
302+ g++ -I. -std=c++11 - Wall -Wformat -o example_single_file example_single_file.cpp
303303
304304 - name : Build example_null (with IMGUI_DISABLE_OBSOLETE_KEYIO)
305305 run : |
@@ -311,7 +311,7 @@ jobs:
311311 #include "examples/example_null/main.cpp"
312312
313313 EOF
314- g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp
314+ g++ -I. -std=c++11 - Wall -Wformat -o example_single_file example_single_file.cpp
315315
316316 - name : Build example_null (with IMGUI_DISABLE_DEMO_WINDOWS and IMGUI_DISABLE_METRICS_WINDOW)
317317 run : |
@@ -324,7 +324,7 @@ jobs:
324324 #include "examples/example_null/main.cpp"
325325
326326 EOF
327- g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp
327+ g++ -I. -std=c++11 - Wall -Wformat -o example_single_file example_single_file.cpp
328328
329329 - name : Build example_null (with IMGUI_DISABLE_FILE_FUNCTIONS)
330330 run : |
@@ -336,7 +336,7 @@ jobs:
336336 #include "examples/example_null/main.cpp"
337337
338338 EOF
339- g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp
339+ g++ -I. -std=c++11 - Wall -Wformat -o example_single_file example_single_file.cpp
340340
341341 - name : Build example_null (with IMGUI_USE_BGRA_PACKED_COLOR)
342342 run : |
@@ -348,7 +348,7 @@ jobs:
348348 #include "examples/example_null/main.cpp"
349349
350350 EOF
351- g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp
351+ g++ -I. -std=c++11 - Wall -Wformat -o example_single_file example_single_file.cpp
352352
353353 - name : Build example_null (with IM_VEC2_CLASS_EXTRA and IM_VEC4_CLASS_EXTRA)
354354 run : |
@@ -368,7 +368,7 @@ jobs:
368368 #include "examples/example_null/main.cpp"
369369
370370 EOF
371- g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp
371+ g++ -I. -std=c++11 - Wall -Wformat -o example_single_file example_single_file.cpp
372372
373373 - name : Build example_null (without c++ runtime, Clang)
374374 run : |
@@ -380,7 +380,7 @@ jobs:
380380 #include "examples/example_null/main.cpp"
381381
382382 EOF
383- clang++ -I. -Wall -Wformat -nodefaultlibs -fno-rtti -fno-exceptions -fno-threadsafe-statics -lc -lm -o example_single_file example_single_file.cpp
383+ clang++ -I. -std=c++11 - Wall -Wformat -nodefaultlibs -fno-rtti -fno-exceptions -fno-threadsafe-statics -lc -lm -o example_single_file example_single_file.cpp
384384
385385 - name : Build example_glfw_opengl2
386386 run : make -C examples/example_glfw_opengl2
@@ -397,7 +397,7 @@ jobs:
397397 run : make -C examples/example_sdl_opengl3
398398
399399 - name : Build with IMGUI_IMPL_VULKAN_NO_PROTOTYPES
400- run : g++ -c -I. -DIMGUI_IMPL_VULKAN_NO_PROTOTYPES=1 backends/imgui_impl_vulkan.cpp
400+ run : g++ -c -I. -std=c++11 - DIMGUI_IMPL_VULKAN_NO_PROTOTYPES=1 backends/imgui_impl_vulkan.cpp
401401
402402 MacOS :
403403 runs-on : macos-latest
@@ -420,7 +420,7 @@ jobs:
420420 #include "examples/example_null/main.cpp"
421421
422422 EOF
423- clang++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp
423+ clang++ -I. -std=c++11 - Wall -Wformat -o example_single_file example_single_file.cpp
424424
425425 - name : Build example_null (without c++ runtime)
426426 run : |
@@ -431,7 +431,7 @@ jobs:
431431 #include "examples/example_null/main.cpp"
432432
433433 EOF
434- clang++ -I. -Wall -Wformat -nodefaultlibs -fno-rtti -fno-exceptions -fno-threadsafe-statics -lc -lm -o example_single_file example_single_file.cpp
434+ clang++ -I. -std=c++11 - Wall -Wformat -nodefaultlibs -fno-rtti -fno-exceptions -fno-threadsafe-statics -lc -lm -o example_single_file example_single_file.cpp
435435
436436 - name : Build example_glfw_opengl2
437437 run : make -C examples/example_glfw_opengl2
0 commit comments