ess-dmsc / h5cpp

C++ wrapper for the HDF5 C-library
https://ess-dmsc.github.io/h5cpp/
GNU Lesser General Public License v2.1
116 stars 19 forks source link

avoid interference with the windows max macro #611

Closed jkotan closed 1 year ago

jkotan commented 1 year ago

Windows defines max/min macros. To avoid interference with the macros, e.g. at https://github.com/pni-libraries/libpninexus/issues/194, it would be good to add additional brackets when max() from std is called or rename a max variable in tests.