diff --git a/Makefile b/Makefile index 80d2cd9..1a27fa7 100644 --- a/Makefile +++ b/Makefile @@ -66,9 +66,9 @@ library: $(LIB_BUILD) $(LIB_BUILD): $(LIB_OBJ) $(LIBLINKER) $(LIB_LFLAGS) $(LIB_BUILD) $(LIB_OBJ) +# The auto-generated code from bison and flex contains some parts the compiler complains about with -Wall. $(SRCPARSER)/flex_lexer.o: $(SRCPARSER)/flex_lexer.cpp $(SRCPARSER)/bison_parser.cpp $(CXX) $(LIB_CFLAGS) -c -o $@ $< -Wno-sign-compare -Wno-unneeded-internal-declaration -Wno-register - $(SRCPARSER)/bison_parser.o: $(SRCPARSER)/bison_parser.cpp $(CXX) $(LIB_CFLAGS) -c -o $@ $< -Wno-unused-but-set-variable diff --git a/src/sql/ImportExportOptions.h b/src/sql/ImportExportOptions.h index 06a495f..42b0058 100644 --- a/src/sql/ImportExportOptions.h +++ b/src/sql/ImportExportOptions.h @@ -3,7 +3,8 @@ namespace hsql { -// Name unchanged for compatibility. +// Name unchanged for compatibility. Historically, this was only used for import statements before we introduced export +// statements (`COPY ... TO`). We did not change the enum name to accomodate forks. enum ImportType { kImportCSV, kImportTbl, // Hyrise file format.