Skip to content

Commit 13508c7

Browse files
committed
Remove warnings.
1 parent 32aad03 commit 13508c7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

modules/hdf/samples/create_read_write_datasets.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
*
1414
*/
1515

16+
#ifdef __GNUC__
17+
# pragma GCC diagnostic ignored "-Wmissing-declarations"
18+
# if defined __clang__ || defined __APPLE__
19+
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
20+
# pragma GCC diagnostic ignored "-Wextra"
21+
# endif
22+
#endif
23+
1624
//! [tutorial]
1725
#include <iostream>
1826

0 commit comments

Comments
 (0)