hive-testbench icon indicating copy to clipboard operation
hive-testbench copied to clipboard

misspelled defines

Open harschware opened this issue 10 years ago • 0 comments

Running tpcds_build.sh gives:

In file included from w_store_returns.c:40: ./w_store_sales.h:36:9: warning: 'W_STORE_SALES_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]

ifndef W_STORE_SALES_H

    ^~~~~~~~~~~~~~~

./w_store_sales.h:37:9: note: 'W_STORE_SLAES_H' is defined here; did you mean 'W_STORE_SALES_H'?

define W_STORE_SLAES_H

    ^~~~~~~~~~~~~~~
    W_STORE_SALES_H

1 warning generated. gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DYYDEBUG -DLINUX -g -Wall -c -o w_store_sales.o w_store_sales.c In file included from w_store_sales.c:39: ./w_store_sales.h:36:9: warning: 'W_STORE_SALES_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]

ifndef W_STORE_SALES_H

    ^~~~~~~~~~~~~~~

./w_store_sales.h:37:9: note: 'W_STORE_SLAES_H' is defined here; did you mean 'W_STORE_SALES_H'?

define W_STORE_SLAES_H

    ^~~~~~~~~~~~~~~
    W_STORE_SALES_H

harschware avatar Jun 19 '14 00:06 harschware