You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had searched in the issues and found no similar issues.
Version
version :3.0.0
What's Wrong?
An error occurred while creating and compiling the TPC-DS tool.
`
HTTP request sent, awaiting response... 200 OK
Length: 4769824 (4.5M) [application/zip]
Saving to: ‘TPC-DS_Tools_v3.2.0new.zip’
TPC-DS_Tools_v3.2.0new.zip 100%[===================================================================================================================>] 4.55M 12.7MB/s in 0.4s
Archive: TPC-DS_Tools_v3.2.0new.zip
creating: /mnt/date02/doris/mytest_tmp/tpcds-tools/bin/DSGen-software-code-3.2.0rc1/
creating: /mnt/date02/doris/mytest_tmp/tpcds-tools/bin/DSGen-software-code-3.2.0rc1/specification/
inflating: /mnt/date02/doris/mytest_tmp/tpcds-tools/bin/DSGen-software-code-3.2.0rc1/specification/specification.docx
...
inflating: /mnt/date02/doris/mytest_tmp/tpcds-tools/bin/DSGen-software-code-3.2.0rc1/query_templates/query84.tpl
inflating: /mnt/date02/doris/mytest_tmp/tpcds-tools/bin/DSGen-software-code-3.2.0rc1/query_templates/query77.tpl
make: [makefile:248: .ctags_updated] Error 127 (ignored)
s_brand.c: In function ‘ld_s_brand’:
s_brand.c:142:22: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
142 | struct S_BRAND_TBL *r;
| ^
s_customer_address.c: In function ‘ld_s_customer_address’:
s_customer_address.c:115:33: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
115 | struct W_CUSTOMER_ADDRESS_TBL *r;
| ^
s_catalog.c: In function ‘ld_s_catalog’:
s_catalog.c:147:24: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
147 | struct S_CATALOG_TBL *r;
| ^
s_catalog_order.c: In function ‘ld_s_catalog_order’:
s_catalog_order.c:200:30: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
200 | struct S_CATALOG_ORDER_TBL *r;
| ^
s_catalog_order_lineitem.c: In function ‘ld_s_catalog_order_lineitem’:
s_catalog_order_lineitem.c:188:39: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
188 | struct S_CATALOG_ORDER_LINEITEM_TBL *r;
| ^
s_catalog_page.c: In function ‘ld_s_catalog_page’:
s_catalog_page.c:117:27: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
117 | struct CATALOG_PAGE_TBL *r;
| ^
s_catalog_promotional_item.c: In function ‘ld_s_catalog_promotional_item’:
s_catalog_promotional_item.c:137:41: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
137 | struct S_CATALOG_PROMOTIONAL_ITEM_TBL *r;
| ^
s_catalog_returns.c: In function ‘ld_s_catalog_returns’:
s_catalog_returns.c:174:32: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
174 | struct S_CATALOG_RETURNS_TBL *r;
| ^
s_category.c: In function ‘ld_s_category’:
s_category.c:137:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
137 | struct S_CATEGORY_TBL *r;
| ^
s_class.c: In function ‘ld_s_class’:
s_class.c:140:22: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
140 | struct S_CLASS_TBL *r;
| ^
s_company.c: In function ‘ld_s_company’:
s_company.c:136:24: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
136 | struct S_COMPANY_TBL *r;
| ^
s_customer.c: In function ‘ld_s_customer’:
s_customer.c:272:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
272 | struct S_CUSTOMER_TBL *r;
| ^
s_division.c: In function ‘ld_s_division’:
s_division.c:138:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
138 | struct S_DIVISION_TBL *r;
| ^
s_inventory.c: In function ‘ld_s_inventory’:
s_inventory.c:158:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
158 | struct S_INVENTORY_TBL *r;
| ^
s_item.c: In function ‘ld_s_item’:
s_item.c:148:21: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
148 | struct W_ITEM_TBL *r;
| ^
s_manager.c: In function ‘ld_s_manager’:
s_manager.c:140:24: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
140 | struct S_MANAGER_TBL *r;
| ^
s_manufacturer.c: In function ‘ld_s_manufacturer’:
s_manufacturer.c:136:29: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
136 | struct S_MANUFACTURER_TBL *r;
| ^
s_market.c: In function ‘ld_s_market’:
s_market.c:141:23: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
141 | struct S_MARKET_TBL *r;
| ^
s_pline.c: In function ‘ld_s_pline’:
s_pline.c:177:34: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
177 | struct S_PURCHASE_LINEITEM_TBL *r;
| ^
s_product.c: In function ‘ld_s_product’:
s_product.c:141:24: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
141 | struct S_PRODUCT_TBL *r;
| ^
s_promotion.c: In function ‘ld_s_promotion’:
s_promotion.c:157:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
157 | struct W_PROMOTION_TBL *r;
| ^
s_purchase.c: In function ‘ld_s_purchase’:
s_purchase.c:194:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
194 | struct S_PURCHASE_TBL *r;
| ^
s_reason.c: In function ‘ld_s_reason’:
s_reason.c:137:23: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
137 | struct S_REASON_TBL *r;
| ^
s_store.c: In function ‘ld_s_store’:
s_store.c:146:22: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
146 | struct W_STORE_TBL *r;
| ^
s_store_promotional_item.c: In function ‘ld_s_store_promotional_item’:
s_store_promotional_item.c:138:39: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
138 | struct S_STORE_PROMOTIONAL_ITEM_TBL *r;
| ^
s_store_returns.c: In function ‘ld_s_store_returns’:
s_store_returns.c:167:30: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
167 | struct S_STORE_RETURNS_TBL *r;
| ^
s_subcategory.c: In function ‘ld_s_subcategory’:
s_subcategory.c:141:28: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
141 | struct S_SUBCATEGORY_TBL *r;
| ^
s_subclass.c: In function ‘ld_s_subclass’:
s_subclass.c:141:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
141 | struct S_SUBCLASS_TBL *r;
| ^
s_warehouse.c: In function ‘ld_s_warehouse’:
s_warehouse.c:136:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
136 | struct W_WAREHOUSE_TBL *r;
| ^
s_web_order.c: In function ‘ld_s_web_order’:
s_web_order.c:206:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
206 | struct S_WEB_ORDER_TBL *r;
| ^
s_web_order_lineitem.c: In function ‘ld_s_web_order_lineitem’:
s_web_order_lineitem.c:185:35: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
185 | struct S_WEB_ORDER_LINEITEM_TBL *r;
| ^
s_web_page.c: In function ‘ld_s_web_page’:
s_web_page.c:146:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
146 | struct W_WEB_PAGE_TBL *r;
| ^
s_web_promotinal_item.c: In function ‘ld_s_web_promotional_item’:
s_web_promotinal_item.c:140:37: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
140 | struct S_WEB_PROMOTIONAL_ITEM_TBL *r;
| ^
s_web_returns.c: In function ‘ld_s_web_return’:
s_web_returns.c:179:28: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
179 | struct S_WEB_RETURNS_TBL *r;
| ^
s_web_site.c: In function ‘ld_s_web_site’:
s_web_site.c:142:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
142 | struct W_WEB_SITE_TBL *r;
| ^
s_zip_to_gmt.c: In function ‘mk_s_zip’:
s_zip_to_gmt.c:152:26: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘ds_key_t’ {aka ‘long int’} [-Wformat=]
152 | sprintf(r->szZip, "%05lld", kIndex);
| ~~~~~^ ~~~~~~
| | |
| | ds_key_t {aka long int}
| long long int
| %05ld
s_zip_to_gmt.c: In function ‘ld_s_zip’:
s_zip_to_gmt.c:207:24: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
207 | struct S_ZIP_GMT_TBL *r;
| ^
w_call_center.c: In function ‘mk_w_call_center’:
w_call_center.c:88:3: warning: variable ‘nDaysPerRevision’ set but not used [-Wunused-but-set-variable]
88 | nDaysPerRevision;
| ^~~~~~~~~~~~~~~~
w_catalog_returns.c: In function ‘ld_w_catalog_returns’:
w_catalog_returns.c:242:32: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
242 | struct W_CATALOG_RETURNS_TBL *r;
| ^
w_catalog_sales.c: In function ‘mk_detail’:
w_catalog_sales.c:167:18: warning: variable ‘jDate’ set but not used [-Wunused-but-set-variable]
167 | static ds_key_t jDate;
| ^~~~~
w_catalog_sales.c: In function ‘ld_w_catalog_sales’:
w_catalog_sales.c:358:30: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
358 | struct W_CATALOG_SALES_TBL *r;
| ^
w_customer_address.c: In function ‘ld_w_customer_address’:
w_customer_address.c:148:33: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
148 | struct W_CUSTOMER_ADDRESS_TBL *r;
| ^
w_customer.c: In function ‘mk_w_customer’:
w_customer.c:72:13: warning: variable ‘nBaseDate’ set but not used [-Wunused-but-set-variable]
72 | static int nBaseDate;
| ^~~~~~~~~
w_customer.c: In function ‘ld_w_customer’:
w_customer.c:208:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
208 | struct W_CUSTOMER_TBL *r;
| ^
w_customer_demographics.c: In function ‘ld_w_customer_demographics’:
w_customer_demographics.c:147:38: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
147 | struct W_CUSTOMER_DEMOGRAPHICS_TBL *r;
| ^
w_datetbl.c: In function ‘ld_w_date’:
w_datetbl.c:226:21: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
226 | struct W_DATE_TBL *r;
| ^
w_household_demographics.c: In function ‘ld_w_household_demographics’:
w_household_demographics.c:144:39: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
144 | struct W_HOUSEHOLD_DEMOGRAPHICS_TBL *r;
| ^
w_income_band.c: In function ‘ld_w_income_band’:
w_income_band.c:130:28: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
130 | struct W_INCOME_BAND_TBL *r;
| ^
w_inventory.c: In function ‘ld_w_inventory’:
w_inventory.c:169:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
169 | struct W_INVENTORY_TBL *r;
| ^
w_item.c: In function ‘ld_w_item’:
w_item.c:294:21: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
294 | struct W_ITEM_TBL *r;
| ^
w_promotion.c: In function ‘mk_w_promotion’:
w_promotion.c:76:11: warning: variable ‘nTemp’ set but not used [-Wunused-but-set-variable]
76 | ds_key_t nTemp;
| ^~~~~
w_promotion.c: In function ‘ld_w_promotion’:
w_promotion.c:206:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
206 | struct W_PROMOTION_TBL *r;
| ^
w_reason.c: In function ‘ld_w_reason’:
w_reason.c:132:23: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
132 | struct W_REASON_TBL *r;
| ^
w_ship_mode.c: In function ‘ld_w_ship_mode’:
w_ship_mode.c:150:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
150 | struct W_SHIP_MODE_TBL *r;
| ^
w_store.c: In function ‘ld_w_store’:
w_store.c:301:22: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
301 | struct W_STORE_TBL *r;
| ^
w_store_returns.c: In function ‘ld_w_store_returns’:
w_store_returns.c:196:30: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
196 | struct W_STORE_RETURNS_TBL *r;
| ^
w_store_sales.c: In function ‘mk_master’:
w_store_sales.c:75:3: warning: variable ‘nMaxItemCount’ set but not used [-Wunused-but-set-variable]
75 | nMaxItemCount;
| ^~~~~~~~~~~~~
w_store_sales.c: In function ‘ld_w_store_sales’:
w_store_sales.c:226:28: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
226 | struct W_STORE_SALES_TBL *r;
| ^
w_timetbl.c: In function ‘ld_w_time’:
w_timetbl.c:147:21: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
147 | struct W_TIME_TBL *r;
| ^
w_warehouse.c: In function ‘ld_w_warehouse’:
w_warehouse.c:157:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
157 | struct W_WAREHOUSE_TBL *r;
| ^
w_web_page.c: In function ‘mk_w_web_page’:
w_web_page.c:86:3: warning: variable ‘nRevisions’ set but not used [-Wunused-but-set-variable]
86 | nRevisions;
| ^~~~~~~~~~
w_web_page.c: In function ‘ld_w_web_page’:
w_web_page.c:241:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
241 | struct W_WEB_PAGE_TBL *r;
| ^
w_web_returns.c: In function ‘ld_w_web_returns’:
w_web_returns.c:217:28: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
217 | struct W_WEB_RETURNS_TBL *r;
| ^
w_web_sales.c: In function ‘ld_w_web_sales’:
w_web_sales.c:315:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
315 | struct W_WEB_SALES_TBL *r;
| ^
w_web_site.c: In function ‘mk_w_web_site’:
w_web_site.c:122:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
122 | if (r->web_close_date > r->web_rec_end_date_id)
| ^~
w_web_site.c:124:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
124 | sprintf(r->web_name, "site_%d", (int)(index / 6));
| ^~~~~~~
w_web_site.c:82:17: warning: variable ‘dToday’ set but not used [-Wunused-but-set-variable]
82 | static date_t *dToday;
| ^~~~~~
w_web_site.c: In function ‘ld_w_web_site’:
w_web_site.c:266:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
266 | struct W_WEB_SITE_TBL *r;
| ^
dbgen_version.c: In function ‘ld_dbgen_version’:
dbgen_version.c:147:28: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
147 | struct DBGEN_VERSION_TBL r;
| ^
date.c: In function ‘getDateWeightFromJulian’:
date.c:566:1: warning: type of ‘jDay’ defaults to ‘int’ [-Wimplicit-int]
566 | getDateWeightFromJulian(jDay, nDistribution)
| ^~~~~~~~~~~~~~~~~~~~~~~
date.c:566:1: warning: type of ‘nDistribution’ defaults to ‘int’ [-Wimplicit-int]
dist.c: In function ‘find_dist’:
dist.c:237:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
237 | if (id != NULL) / found a valid distribution */
| ^~
dist.c:243:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
243 | return(id);
| ^~~~~~
dcomp.c: In function ‘main’:
dcomp.c:257:6: warning: variable ‘nArgs’ set but not used [-Wunused-but-set-variable]
257 | int nArgs,
| ^~~~~
r_params.c: In function ‘print_params’:
r_params.c:761:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
761 | for (i=0; options[i].name != NULL; i++)
| ^~~
r_params.c:779:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
779 | return;
| ^~~~~~
driver.c: In function ‘gen_tbl’:
driver.c:320:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
320 | if (!pF->builder(NULL, i))
| ^~
driver.c:326:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
326 | row_stop(tabid);
| ^~~~~~~~
driver.c: In function ‘main’:
driver.c:526:4: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations]
526 | ftime(&t);
| ^~~~~
In file included from porting.h:69,
from driver.c:38:
/usr/include/sys/timeb.h:29:12: note: declared here
29 | extern int ftime (struct timeb *__timebuf)
| ^~~~~
list.c: In function ‘findList’:
list.c:289:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
289 | for (pNode = getHead(pList); pNode; pNode = getNext(pList))
| ^~~
list.c:296:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
296 | pList->pCurrent = pOldCurrent;
| ^~~~~
In file included from print.c:36:
print.c: In function ‘print_key’:
config.h:104:21: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘ds_key_t’ {aka ‘long int’} [-Wformat=]
104 | #define HUGE_FORMAT "%lld"
| ^~~~~~
print.c:347:28: note: in expansion of macro ‘HUGE_FORMAT’
347 | if (fprintf (fpOutfile, HUGE_FORMAT, val) < 0)
| ^~~~~~~~~~~
config.h:104:25: note: format string is defined here
104 | #define HUGE_FORMAT "%lld"
| ~~~^
| |
| long long int
| %ld
tdef_functions.c: In function ‘getTdefFunctionsByNumber’:
tdef_functions.c:174:1: warning: type of ‘nTable’ defaults to ‘int’ [-Wimplicit-int]
174 | getTdefFunctionsByNumber(nTable)
| ^~~~~~~~~~~~~~~~~~~~~~~~
tdefs.c: In function ‘getSimpleTdefsByNumber’:
tdefs.c:150:1: warning: type of ‘nTable’ defaults to ‘int’ [-Wimplicit-int]
150 | getSimpleTdefsByNumber(nTable)
| ^~~~~~~~~~~~~~~~~~~~~~
scd.c: In function ‘scd_join’:
scd.c:167:3: warning: variable ‘jH1DataDate’ set but not used [-Wunused-but-set-variable]
167 | jH1DataDate,
| ^~~~~~~~~~~
validate.c: In function ‘validateGeneric’:
validate.c:67:10: warning: variable ‘pChild’ set but not used [-Wunused-but-set-variable]
67 | tdef *pChild;
| ^~~~~~
make: yacc: No such file or directory
make: *** [makefile:287: y.tab.h] Error 127
Search before asking
Version
version :3.0.0
What's Wrong?
An error occurred while creating and compiling the TPC-DS tool.
`
HTTP request sent, awaiting response... 200 OK
Length: 4769824 (4.5M) [application/zip]
Saving to: ‘TPC-DS_Tools_v3.2.0new.zip’
TPC-DS_Tools_v3.2.0new.zip 100%[===================================================================================================================>] 4.55M 12.7MB/s in 0.4s
2025-01-14 10:56:17 (12.7 MB/s) - ‘TPC-DS_Tools_v3.2.0new.zip’ saved [4769824/4769824]
Archive: TPC-DS_Tools_v3.2.0new.zip
creating: /mnt/date02/doris/mytest_tmp/tpcds-tools/bin/DSGen-software-code-3.2.0rc1/
creating: /mnt/date02/doris/mytest_tmp/tpcds-tools/bin/DSGen-software-code-3.2.0rc1/specification/
inflating: /mnt/date02/doris/mytest_tmp/tpcds-tools/bin/DSGen-software-code-3.2.0rc1/specification/specification.docx
...
inflating: /mnt/date02/doris/mytest_tmp/tpcds-tools/bin/DSGen-software-code-3.2.0rc1/query_templates/query84.tpl
inflating: /mnt/date02/doris/mytest_tmp/tpcds-tools/bin/DSGen-software-code-3.2.0rc1/query_templates/query77.tpl
make: [makefile:248: .ctags_updated] Error 127 (ignored)
s_brand.c: In function ‘ld_s_brand’:
s_brand.c:142:22: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
142 | struct S_BRAND_TBL *r;
| ^
s_customer_address.c: In function ‘ld_s_customer_address’:
s_customer_address.c:115:33: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
115 | struct W_CUSTOMER_ADDRESS_TBL *r;
| ^
s_catalog.c: In function ‘ld_s_catalog’:
s_catalog.c:147:24: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
147 | struct S_CATALOG_TBL *r;
| ^
s_catalog_order.c: In function ‘ld_s_catalog_order’:
s_catalog_order.c:200:30: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
200 | struct S_CATALOG_ORDER_TBL *r;
| ^
s_catalog_order_lineitem.c: In function ‘ld_s_catalog_order_lineitem’:
s_catalog_order_lineitem.c:188:39: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
188 | struct S_CATALOG_ORDER_LINEITEM_TBL *r;
| ^
s_catalog_page.c: In function ‘ld_s_catalog_page’:
s_catalog_page.c:117:27: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
117 | struct CATALOG_PAGE_TBL *r;
| ^
s_catalog_promotional_item.c: In function ‘ld_s_catalog_promotional_item’:
s_catalog_promotional_item.c:137:41: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
137 | struct S_CATALOG_PROMOTIONAL_ITEM_TBL *r;
| ^
s_catalog_returns.c: In function ‘ld_s_catalog_returns’:
s_catalog_returns.c:174:32: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
174 | struct S_CATALOG_RETURNS_TBL *r;
| ^
s_category.c: In function ‘ld_s_category’:
s_category.c:137:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
137 | struct S_CATEGORY_TBL *r;
| ^
s_class.c: In function ‘ld_s_class’:
s_class.c:140:22: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
140 | struct S_CLASS_TBL *r;
| ^
s_company.c: In function ‘ld_s_company’:
s_company.c:136:24: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
136 | struct S_COMPANY_TBL *r;
| ^
s_customer.c: In function ‘ld_s_customer’:
s_customer.c:272:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
272 | struct S_CUSTOMER_TBL *r;
| ^
s_division.c: In function ‘ld_s_division’:
s_division.c:138:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
138 | struct S_DIVISION_TBL *r;
| ^
s_inventory.c: In function ‘ld_s_inventory’:
s_inventory.c:158:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
158 | struct S_INVENTORY_TBL *r;
| ^
s_item.c: In function ‘ld_s_item’:
s_item.c:148:21: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
148 | struct W_ITEM_TBL *r;
| ^
s_manager.c: In function ‘ld_s_manager’:
s_manager.c:140:24: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
140 | struct S_MANAGER_TBL *r;
| ^
s_manufacturer.c: In function ‘ld_s_manufacturer’:
s_manufacturer.c:136:29: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
136 | struct S_MANUFACTURER_TBL *r;
| ^
s_market.c: In function ‘ld_s_market’:
s_market.c:141:23: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
141 | struct S_MARKET_TBL *r;
| ^
s_pline.c: In function ‘ld_s_pline’:
s_pline.c:177:34: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
177 | struct S_PURCHASE_LINEITEM_TBL *r;
| ^
s_product.c: In function ‘ld_s_product’:
s_product.c:141:24: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
141 | struct S_PRODUCT_TBL *r;
| ^
s_promotion.c: In function ‘ld_s_promotion’:
s_promotion.c:157:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
157 | struct W_PROMOTION_TBL *r;
| ^
s_purchase.c: In function ‘ld_s_purchase’:
s_purchase.c:194:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
194 | struct S_PURCHASE_TBL *r;
| ^
s_reason.c: In function ‘ld_s_reason’:
s_reason.c:137:23: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
137 | struct S_REASON_TBL *r;
| ^
s_store.c: In function ‘ld_s_store’:
s_store.c:146:22: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
146 | struct W_STORE_TBL *r;
| ^
s_store_promotional_item.c: In function ‘ld_s_store_promotional_item’:
s_store_promotional_item.c:138:39: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
138 | struct S_STORE_PROMOTIONAL_ITEM_TBL *r;
| ^
s_store_returns.c: In function ‘ld_s_store_returns’:
s_store_returns.c:167:30: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
167 | struct S_STORE_RETURNS_TBL *r;
| ^
s_subcategory.c: In function ‘ld_s_subcategory’:
s_subcategory.c:141:28: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
141 | struct S_SUBCATEGORY_TBL *r;
| ^
s_subclass.c: In function ‘ld_s_subclass’:
s_subclass.c:141:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
141 | struct S_SUBCLASS_TBL *r;
| ^
s_warehouse.c: In function ‘ld_s_warehouse’:
s_warehouse.c:136:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
136 | struct W_WAREHOUSE_TBL *r;
| ^
s_web_order.c: In function ‘ld_s_web_order’:
s_web_order.c:206:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
206 | struct S_WEB_ORDER_TBL *r;
| ^
s_web_order_lineitem.c: In function ‘ld_s_web_order_lineitem’:
s_web_order_lineitem.c:185:35: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
185 | struct S_WEB_ORDER_LINEITEM_TBL *r;
| ^
s_web_page.c: In function ‘ld_s_web_page’:
s_web_page.c:146:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
146 | struct W_WEB_PAGE_TBL *r;
| ^
s_web_promotinal_item.c: In function ‘ld_s_web_promotional_item’:
s_web_promotinal_item.c:140:37: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
140 | struct S_WEB_PROMOTIONAL_ITEM_TBL *r;
| ^
s_web_returns.c: In function ‘ld_s_web_return’:
s_web_returns.c:179:28: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
179 | struct S_WEB_RETURNS_TBL *r;
| ^
s_web_site.c: In function ‘ld_s_web_site’:
s_web_site.c:142:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
142 | struct W_WEB_SITE_TBL *r;
| ^
s_zip_to_gmt.c: In function ‘mk_s_zip’:
s_zip_to_gmt.c:152:26: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘ds_key_t’ {aka ‘long int’} [-Wformat=]
152 | sprintf(r->szZip, "%05lld", kIndex);
| ~~~~~^ ~~~~~~
| | |
| | ds_key_t {aka long int}
| long long int
| %05ld
s_zip_to_gmt.c: In function ‘ld_s_zip’:
s_zip_to_gmt.c:207:24: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
207 | struct S_ZIP_GMT_TBL *r;
| ^
w_call_center.c: In function ‘mk_w_call_center’:
w_call_center.c:88:3: warning: variable ‘nDaysPerRevision’ set but not used [-Wunused-but-set-variable]
88 | nDaysPerRevision;
| ^~~~~~~~~~~~~~~~
w_catalog_returns.c: In function ‘ld_w_catalog_returns’:
w_catalog_returns.c:242:32: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
242 | struct W_CATALOG_RETURNS_TBL *r;
| ^
w_catalog_sales.c: In function ‘mk_detail’:
w_catalog_sales.c:167:18: warning: variable ‘jDate’ set but not used [-Wunused-but-set-variable]
167 | static ds_key_t jDate;
| ^~~~~
w_catalog_sales.c: In function ‘ld_w_catalog_sales’:
w_catalog_sales.c:358:30: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
358 | struct W_CATALOG_SALES_TBL *r;
| ^
w_customer_address.c: In function ‘ld_w_customer_address’:
w_customer_address.c:148:33: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
148 | struct W_CUSTOMER_ADDRESS_TBL *r;
| ^
w_customer.c: In function ‘mk_w_customer’:
w_customer.c:72:13: warning: variable ‘nBaseDate’ set but not used [-Wunused-but-set-variable]
72 | static int nBaseDate;
| ^~~~~~~~~
w_customer.c: In function ‘ld_w_customer’:
w_customer.c:208:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
208 | struct W_CUSTOMER_TBL *r;
| ^
w_customer_demographics.c: In function ‘ld_w_customer_demographics’:
w_customer_demographics.c:147:38: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
147 | struct W_CUSTOMER_DEMOGRAPHICS_TBL *r;
| ^
w_datetbl.c: In function ‘ld_w_date’:
w_datetbl.c:226:21: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
226 | struct W_DATE_TBL *r;
| ^
w_household_demographics.c: In function ‘ld_w_household_demographics’:
w_household_demographics.c:144:39: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
144 | struct W_HOUSEHOLD_DEMOGRAPHICS_TBL *r;
| ^
w_income_band.c: In function ‘ld_w_income_band’:
w_income_band.c:130:28: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
130 | struct W_INCOME_BAND_TBL *r;
| ^
w_inventory.c: In function ‘ld_w_inventory’:
w_inventory.c:169:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
169 | struct W_INVENTORY_TBL *r;
| ^
w_item.c: In function ‘ld_w_item’:
w_item.c:294:21: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
294 | struct W_ITEM_TBL *r;
| ^
w_promotion.c: In function ‘mk_w_promotion’:
w_promotion.c:76:11: warning: variable ‘nTemp’ set but not used [-Wunused-but-set-variable]
76 | ds_key_t nTemp;
| ^~~~~
w_promotion.c: In function ‘ld_w_promotion’:
w_promotion.c:206:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
206 | struct W_PROMOTION_TBL *r;
| ^
w_reason.c: In function ‘ld_w_reason’:
w_reason.c:132:23: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
132 | struct W_REASON_TBL *r;
| ^
w_ship_mode.c: In function ‘ld_w_ship_mode’:
w_ship_mode.c:150:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
150 | struct W_SHIP_MODE_TBL *r;
| ^
w_store.c: In function ‘ld_w_store’:
w_store.c:301:22: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
301 | struct W_STORE_TBL *r;
| ^
w_store_returns.c: In function ‘ld_w_store_returns’:
w_store_returns.c:196:30: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
196 | struct W_STORE_RETURNS_TBL *r;
| ^
w_store_sales.c: In function ‘mk_master’:
w_store_sales.c:75:3: warning: variable ‘nMaxItemCount’ set but not used [-Wunused-but-set-variable]
75 | nMaxItemCount;
| ^~~~~~~~~~~~~
w_store_sales.c: In function ‘ld_w_store_sales’:
w_store_sales.c:226:28: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
226 | struct W_STORE_SALES_TBL *r;
| ^
w_timetbl.c: In function ‘ld_w_time’:
w_timetbl.c:147:21: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
147 | struct W_TIME_TBL *r;
| ^
w_warehouse.c: In function ‘ld_w_warehouse’:
w_warehouse.c:157:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
157 | struct W_WAREHOUSE_TBL *r;
| ^
w_web_page.c: In function ‘mk_w_web_page’:
w_web_page.c:86:3: warning: variable ‘nRevisions’ set but not used [-Wunused-but-set-variable]
86 | nRevisions;
| ^~~~~~~~~~
w_web_page.c: In function ‘ld_w_web_page’:
w_web_page.c:241:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
241 | struct W_WEB_PAGE_TBL *r;
| ^
w_web_returns.c: In function ‘ld_w_web_returns’:
w_web_returns.c:217:28: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
217 | struct W_WEB_RETURNS_TBL *r;
| ^
w_web_sales.c: In function ‘ld_w_web_sales’:
w_web_sales.c:315:26: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
315 | struct W_WEB_SALES_TBL *r;
| ^
w_web_site.c: In function ‘mk_w_web_site’:
w_web_site.c:122:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
122 | if (r->web_close_date > r->web_rec_end_date_id)
| ^~
w_web_site.c:124:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
124 | sprintf(r->web_name, "site_%d", (int)(index / 6));
| ^~~~~~~
w_web_site.c:82:17: warning: variable ‘dToday’ set but not used [-Wunused-but-set-variable]
82 | static date_t *dToday;
| ^~~~~~
w_web_site.c: In function ‘ld_w_web_site’:
w_web_site.c:266:25: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
266 | struct W_WEB_SITE_TBL *r;
| ^
dbgen_version.c: In function ‘ld_dbgen_version’:
dbgen_version.c:147:28: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
147 | struct DBGEN_VERSION_TBL r;
| ^
date.c: In function ‘getDateWeightFromJulian’:
date.c:566:1: warning: type of ‘jDay’ defaults to ‘int’ [-Wimplicit-int]
566 | getDateWeightFromJulian(jDay, nDistribution)
| ^~~~~~~~~~~~~~~~~~~~~~~
date.c:566:1: warning: type of ‘nDistribution’ defaults to ‘int’ [-Wimplicit-int]
dist.c: In function ‘find_dist’:
dist.c:237:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
237 | if (id != NULL) / found a valid distribution */
| ^~
dist.c:243:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
243 | return(id);
| ^~~~~~
dcomp.c: In function ‘main’:
dcomp.c:257:6: warning: variable ‘nArgs’ set but not used [-Wunused-but-set-variable]
257 | int nArgs,
| ^~~~~
r_params.c: In function ‘print_params’:
r_params.c:761:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
761 | for (i=0; options[i].name != NULL; i++)
| ^~~
r_params.c:779:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
779 | return;
| ^~~~~~
driver.c: In function ‘gen_tbl’:
driver.c:320:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
320 | if (!pF->builder(NULL, i))
| ^~
driver.c:326:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
326 | row_stop(tabid);
| ^~~~~~~~
driver.c: In function ‘main’:
driver.c:526:4: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations]
526 | ftime(&t);
| ^~~~~
In file included from porting.h:69,
from driver.c:38:
/usr/include/sys/timeb.h:29:12: note: declared here
29 | extern int ftime (struct timeb *__timebuf)
| ^~~~~
list.c: In function ‘findList’:
list.c:289:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
289 | for (pNode = getHead(pList); pNode; pNode = getNext(pList))
| ^~~
list.c:296:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
296 | pList->pCurrent = pOldCurrent;
| ^~~~~
In file included from print.c:36:
print.c: In function ‘print_key’:
config.h:104:21: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘ds_key_t’ {aka ‘long int’} [-Wformat=]
104 | #define HUGE_FORMAT "%lld"
| ^~~~~~
print.c:347:28: note: in expansion of macro ‘HUGE_FORMAT’
347 | if (fprintf (fpOutfile, HUGE_FORMAT, val) < 0)
| ^~~~~~~~~~~
config.h:104:25: note: format string is defined here
104 | #define HUGE_FORMAT "%lld"
| ~~~^
| |
| long long int
| %ld
tdef_functions.c: In function ‘getTdefFunctionsByNumber’:
tdef_functions.c:174:1: warning: type of ‘nTable’ defaults to ‘int’ [-Wimplicit-int]
174 | getTdefFunctionsByNumber(nTable)
| ^~~~~~~~~~~~~~~~~~~~~~~~
tdefs.c: In function ‘getSimpleTdefsByNumber’:
tdefs.c:150:1: warning: type of ‘nTable’ defaults to ‘int’ [-Wimplicit-int]
150 | getSimpleTdefsByNumber(nTable)
| ^~~~~~~~~~~~~~~~~~~~~~
scd.c: In function ‘scd_join’:
scd.c:167:3: warning: variable ‘jH1DataDate’ set but not used [-Wunused-but-set-variable]
167 | jH1DataDate,
| ^~~~~~~~~~~
validate.c: In function ‘validateGeneric’:
validate.c:67:10: warning: variable ‘pChild’ set but not used [-Wunused-but-set-variable]
67 | tdef *pChild;
| ^~~~~~
make: yacc: No such file or directory
make: *** [makefile:287: y.tab.h] Error 127
`
What You Expected?
Compile TPC-DS. Compilation successful.
How to Reproduce?
1.Cluster Deployment Manually
2.version 3.0.3
3.jdk 17
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: