Skip to content

Commit 607523a

Browse files
Debug commit - do not merge
1 parent e356ad7 commit 607523a

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

cpp/arduino/avr/pgmspace.h

+10
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ out.each { |l| puts d(l) }
1919
#include <stdint.h>
2020
#include <stdarg.h>
2121

22+
#if defined(__USE_MISC)
23+
#warning "__USE_MISC"
24+
#endif
25+
#if defined(__USE_XOPEN)
26+
#warning "__USE_XOPEN"
27+
#endif
28+
#if __GLIBC_USE (ISOC2X)
29+
#warning "ISOC2X"
30+
#endif
31+
2232
#define PROGMEM
2333

2434
#ifndef PGM_P

lib/arduino_ci/cpp_library.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def build_for_test_with_configuration(test_file, aux_libraries, gcc_binary, ci_g
324324
executable = Pathname.new("unittest_#{base}.bin").expand_path
325325
File.delete(executable) if File.exist?(executable)
326326
arg_sets = []
327-
arg_sets << ["-std=c++0x", "-o", executable.to_s, "-DARDUINO=100"]
327+
arg_sets << ["-std=c++0x", "-o", executable.to_s, "-DARDUINO=100", "-H"]
328328
if libasan?(gcc_binary)
329329
arg_sets << [ # Stuff to help with dynamic memory mishandling
330330
"-g", "-O1",

0 commit comments

Comments
 (0)