Bug #8618 Windows build problems

Submitted: 19 Feb 2005 3:06 Modified: 19 Feb 2005 10:17
Reporter: Kent Boortz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S1 (Critical)
Version:5.0.3-alpha OS:Windows (Windows XP)
Assigned to: Sergei Golubchik CPU Architecture:Any

[19 Feb 2005 3:06] Kent Boortz
Description:
sql\ha_innodb.cpp(2655) :
    error C2664: 'innobase_commit' : cannot convert parameter 2 from 'struct trx_struct *' to 'int'
    This conversion requires a reinterpret_cast, a C-style cast or function-style cast
sql\ha_innodb.cpp(2670) :
    error C2664: 'innobase_commit' : cannot convert parameter 2 from 'struct trx_struct *' to 'int'
    This conversion requires a reinterpret_cast, a C-style cast or function-style cast
sql\ha_innodb.cpp(4250) :
    error C2664: 'innobase_commit' : cannot convert parameter 2 from 'struct trx_struct *' to 'int'
    This conversion requires a reinterpret_cast, a C-style cast or function-style cast
sql\handler.cpp(760) :
    error C2664: 'hash_search' : cannot convert parameter 2 from 'char *' to 'const unsigned char *'
    Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
sql\log.cpp(2100) :
    error C2664: 'my_pwrite' : cannot convert parameter 2 from 'char *' to 'const unsigned char *'
    Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
sql\log.cpp(2477) :
    error C2065: 'getpagesize' : undeclared identifier
sql\log.cpp(2516) :
    error C2065: 'MAP_SHARED' : undeclared identifier
sql\log.cpp(2776) :
    error C2065: 'statistic_decrement' : undeclared identifier
sql\log.cpp(2800) :
    error C2360: initialization of 'i' is skipped by 'case' label
    sql\log.cpp(2793) : see declaration of 'i'
sql\log.cpp(2802) :
    error C2360: initialization of 'i' is skipped by 'case' label
    sql\log.cpp(2793) : see declaration of 'i'
sql\log.cpp(2804) :
    error C2360: initialization of 'i' is skipped by 'case' label
    sql\log.cpp(2793) : see declaration of 'i'
sql\log.cpp(2994) :
    error C2065: 'thread_safe_dec_and_test' : undeclared identifier
sql\log.cpp(3018) :
    error C2440: 'initializing' : cannot convert from 'char *' to 'unsigned char *'
    Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
sql\ha_berkeley.cpp(218) :
    error C4716: 'berkeley_close_connection' : must return a value

How to repeat:
Compile on Windows with VC++ 6
[19 Feb 2005 10:17] Sergei Golubchik
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

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

Page generated in 0.051 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.