logological / gpp

GPP, a generic preprocessor
https://logological.org/gpp
GNU Lesser General Public License v3.0
192 stars 33 forks source link

Fix for "the defined(...) macro is already defined" warning being issued in case of nested #eval statements #67

Open GrayFace opened 4 months ago

GrayFace commented 4 months ago

I don't have a code sample ready, but something like this should trigger the warning before the fix:

#define Num1 #eval 5*5
5*5*5 = #eval Num1*5
GrayFace commented 4 months ago

https://github.com/logological/gpp/issues/55