osmcode / osmcoastline

Extracts coastline data from OpenStreetMap planet file.
https://osmcode.org/osmcoastline/
GNU General Public License v3.0
109 stars 14 forks source link

struct/class missmatch #6

Closed MaZderMind closed 11 years ago

MaZderMind commented 11 years ago

Hi

clang++ prints a warning about a missmatch here:

clang++ -c -O3 -g -Wall -Wextra -Wredundant-decls -Wdisabled-optimization -pedantic -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo -Wno-long-long -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdal -o output_database.o output_database.cpp
In file included from output_database.cpp:31:
./stats.hpp:25:1: warning: 'Stats' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Stats {
^
./output_database.hpp:43:1: note: did you mean struct here?
class Stats;
^~~~~
struct
1 warning generated.