From 3119060c9c8905b9d07e04a342a2c32cf0bf1358 Mon Sep 17 00:00:00 2001 From: valmat Date: Thu, 10 Apr 2014 13:16:32 +0600 Subject: fix warnings g++ -Wall -c -O2 -std=c++11 -fpic -I"/home/valmat/work/PHP-CPP/tests/include/lib" -I"/home/valmat/work/PHP-CPP/tests/include/zts" -o main.o main.cpp In file included from /home/valmat/work/PHP-CPP/tests/include/lib/phpcpp.h:60:0, from main.cpp:8: /home/valmat/work/PHP-CPP/tests/include/lib/phpcpp/call.h:70:28: warning: extra tokens at end of #pragma directive [enabled by default] #pragma push_macro("isset"); ^ /home/valmat/work/PHP-CPP/tests/include/lib/phpcpp/call.h:84:27: warning: extra tokens at end of #pragma directive [enabled by default] #pragma pop_macro("isset"); ^ --- include/call.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/call.h') diff --git a/include/call.h b/include/call.h index 9be5c91..2fcc9b0 100644 --- a/include/call.h +++ b/include/call.h @@ -67,7 +67,7 @@ inline void unset(const HashMember &member) { member.unset(); } /** * The isset function conflicts with the 'isset' macro defined by the Zend engine */ -#pragma push_macro("isset"); +#pragma push_macro("isset") #undef isset /** @@ -81,7 +81,7 @@ inline Value isset(const HashMember &member) { return member.exists() && /** * Re-install the ISSET macro */ -#pragma pop_macro("isset"); +#pragma pop_macro("isset") /** * End of namespace -- cgit v1.2.3