[Ovmsdev] Macros MIN and MAX

Stephen Casner casner at acm.org
Fri Jan 5 05:01:19 HKT 2018


Michael and Geir,

Can you please see whether the definitions of MIN and MAX in your
files are needed?  These macros are defined in:

esp-idf/components/newlib/include/sys/param.h

which gets included from ovms_config.h and perhaps other places.

When I'm compiling with release v3.0 the redefinition of these macros
shows up as a warning.  It would be possible to ignore the warning and
it might also be possible to turn off the warnings by changing the
configuration, but if the definitions are not needed this would be
cleaner.

                                                        -- Steve



More information about the OvmsDev mailing list