Skip to content

Commit

Permalink
Adding an include statement for array to allow compilation using gcc12
Browse files Browse the repository at this point in the history
  • Loading branch information
jprestop committed Jul 21, 2023
1 parent 1320e54 commit bf17ced
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/tools/other/pb2nc/pb2nc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@
// 015 02/10/18 Halley Gotway Add message_type_group_map.
// 016 07/23/18 Halley Gotway Support masks defined by gen_vx_mask.
// 017 07/06/22 Howard Soh METplus-Internal #19 Rename main to met_main
// 018 09/12/22 Prestopnik MET #2227 Remove namespace std and netCDF
// 018 09/12/22 Prestopnik, J. MET #2227 Remove namespace std and netCDF
// from header files
//
// 019 07/21/23 Prestopnik, J. MET #2615 Add #include <array> to compile
// successfully using gcc12
////////////////////////////////////////////////////////////////////////


Expand All @@ -72,6 +73,7 @@
#include <unistd.h>
#include <assert.h>

#include <array>
#include <netcdf>

#include "main.h"
Expand Down

0 comments on commit bf17ced

Please sign in to comment.