jhump commented on code in PR #3266:
URL: https://github.com/apache/avro/pull/3266#discussion_r1932309364


##########
lang/c++/impl/CustomAttributes.cc:
##########
@@ -16,26 +16,63 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#include "CustomAttributes.hh"
-#include "Exception.hh"
+
+#if defined(__clang__)
+// Even though CustomAttributes::ValueMode::STRING is deprecated, we still 
have to
+// handle/implement it.
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"

Review Comment:
   Done (moved this `#pragma` to make its purpose more clear; used `push|pop` 
in `unittest.cpp`).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@avro.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to