I've had some minor problems reading email this weekend, but I'm
pretty certain Mark Post asked about where I'd found the min()
definitions -
sys/src/co/sap/saptypeb.h: #define min(a,b) (((a) <= (b)) ? (a) : (b))
sys/src/en/gen00.h:#define min(a,b) ( ( (a) <= (b) ) ? (a) : (b) )
sys/src/pa/hpa106cslzc.h:#define min(a,b) ((a) < (b) ? (a) : (b))
sys/src/pa/vpa00wic:#define min(a,b) (((a) < (b)) ? (a) : (b))
sys/src/sp/vsp00c:#define min(a,b) ( ( (a) <= (b) ) ? (a) : (b) )
sys/src/wd/fcgimisc.h:#define min(a,b) ((a) < (b) ? (a) : (b))
sys/src/sap/saptypeb.h: #define min(a,b) (((a) <= (b)) ? (a) : (b))
sys/src/SAPDB/TclTools/sdbodbc/sdbodbc.h:#define min(a, b) ((a) < (b) ? (a) : (b))
I tried adding a "#undef min" in sys/src/SAPDB/LVCSimulator/LVCSim_liveCacheSink.cpp
and then compile again - problem with std::min disappeared. So it's now only
a matter of finding who incorrectly defines min().
Or maybe just undef'ing it ?
rgds,
Per Jessen, Zurich
| Thread |
|---|
| • where the min() macro is defined | Per Jessen | 30 Sep |