Skip to content
Browse files

Added code to demonstrate how to suppress warning

  • Loading branch information...
1 parent f7a200b commit fee10a7e8bb49cd85abe8003362cf56758a1df05 @TonnyXu committed Oct 15, 2013
Showing with 14 additions and 0 deletions.
  1. +14 −0 308_Using_Receipts_to_Protect_Your_Digital_Sales.md
View
14 308_Using_Receipts_to_Protect_Your_Digital_Sales.md
@@ -49,3 +49,17 @@
## Unclear
1. Use something special in your validation?
+
+----
+
+## Funny things
+
+1. Apple provided a solution to use OpenSSL, but if you compile your code, full of "Deprecated function" warning
+ To suppress the warning, best solution:
+```
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+
+//... your code
+#pragma clang diagnostic pop
+```

0 comments on commit fee10a7

Please sign in to comment.
Something went wrong with that request. Please try again.