aboutsummaryrefslogtreecommitdiff
path: root/examples/MakefileExample
diff options
context:
space:
mode:
authorKier Davis <kierdavis@gmail.com>2018-01-21 22:59:17 +0000
committerKier Davis <kierdavis@gmail.com>2018-01-24 21:52:22 +0000
commitb3c5127be244ef68f1f895155f3d8999f8800f83 (patch)
tree80315a3da0c83bc671c2cfb47d4fcd5ca2d8c9c2 /examples/MakefileExample
parent74e1ef00fd824e07ebbc5254465a4a9e87514eaa (diff)
Allow compatibility with old pgmspace API to be disabled by the user
When this compatibility mode is enabled, code that is entirely compliant with the new pgmspace API can still raise deprecation warnings when symbols present in both the old and new APIs (for example, PGM_P) are used. Clearly, these warnings are false positives. They can be avoided by disabling the compatibility mode. This functionality is achieved by prepending the flag that enables the compatibility mode to CPPFLAGS instead of appending it, thus allowing the user to override the default behaviour and disable the compatibility mode by putting the negation of the flag in the CPPFLAGS variable in their top-level Makefile.
Diffstat (limited to 'examples/MakefileExample')
0 files changed, 0 insertions, 0 deletions