summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvalmat <ufabiz@gmail.com>2014-04-10 13:16:32 +0600
committervalmat <ufabiz@gmail.com>2014-04-10 13:16:32 +0600
commit3119060c9c8905b9d07e04a342a2c32cf0bf1358 (patch)
tree46f0a7067f4f3b252bcfbe900aa3b8cde26bd08b
parentb015506a3b1738405a948d11e221e3948aa42d13 (diff)
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"); ^
-rw-r--r--include/call.h4
1 files changed, 2 insertions, 2 deletions
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<Value> &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<Value> &member) { return member.exists() &&
/**
* Re-install the ISSET macro
*/
-#pragma pop_macro("isset");
+#pragma pop_macro("isset")
/**
* End of namespace