|
|
In function 'double bill(double, double, double, double, double, double, double, double, int, char)': 53:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 45:62: warning: parameter 'totalPremMinUsed' set but not used [-Wunused-but-set-parameter] At global scope: 45:37: warning: unused parameter 'totalPremCharges' [-Wunused-parameter] 46:36: warning: unused parameter 'charges' [-Wunused-parameter] 46:49: warning: unused parameter 'accNum' [-Wunused-parameter] In function 'int main()': 38:29: warning: 'numUsedPremDay' is used uninitialized in this function [-Wuninitialized] 38:29: warning: 'numUsedPremNight' is used uninitialized in this function [-Wuninitialized] 38:29: warning: 'dayCharges' is used uninitialized in this function [-Wuninitialized] 38:29: warning: 'nightCharges' is used uninitialized in this function [-Wuninitialized] 38:29: warning: 'totalPremCharges' is used uninitialized in this function [-Wuninitialized] 38:29: warning: 'totalPremMinUsed' is used uninitialized in this function [-Wuninitialized] 38:29: warning: 'numUsedReg' is used uninitialized in this function [-Wuninitialized] 38:29: warning: 'charges' is used uninitialized in this function [-Wuninitialized] /tmp/ccxtnR1m.o: In function `main': :(.text.startup+0xcd): undefined reference to `bill(double, double, double, double, double, double, double, double)' collect2: error: ld returned 1 exit status |