Bug #7665 C++ style comments in C file cause compiler errors

Submitted: 4 Jan 2005 16:07 Modified: 4 Jan 2005 17:08
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S1 (Critical)
Version:5.0.3-pre OS:IBM AIX (AIX)
Assigned to: Joerg Bruehe CPU Architecture:Any

[4 Jan 2005 16:07] Joerg Bruehe
Description:
Syntax errors on all 4 AIX builds:

"my_time.c", line 911.50: 1506-046 (S) Syntax error.
"my_time.c", line 911.53: 1506-045 (S) Undeclared identifier YYMMDD.
"my_time.c", line 918.50: 1506-046 (S) Syntax error.
"my_time.c", line 918.61: 1506-045 (S) Undeclared identifier year.
"my_time.c", line 932.50: 1506-046 (S) Syntax error.
"my_time.c", line 932.53: 1506-045 (S) Undeclared identifier YYMMDDHHMMSS.
"my_time.c", line 938.41: 1506-046 (S) Syntax error.
"my_time.c", line 960.1: 1506-006 (S) Label ok is undefined.

How to repeat:
Build a release ...

Suggested fix:
Replace C++ style comment by true C style.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.