openframeworks / openFrameworks

openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
http://openframeworks.cc
Other
9.98k stars 2.55k forks source link

iso646.h in windows — and / or templates fix #8154

Closed dimitre closed 1 month ago

dimitre commented 1 month ago

Subsequent changes for this PR https://github.com/openframeworks/openFrameworks/pull/8153

artificiel commented 1 month ago

this is now closed/merged, but in addition to the local spots it is needed, I suggest keeping it into ofMain.h also as using and or etc is ISO standard C++, but end-user code working in clang will suddenly break on MSVC with no good reason. having the include in ofMain makes things "more compatible".