Bug #13449 InnoDB Warnings and Compiler Errors on Windows
Submitted: 23 Sep 2005 18:03 Modified: 23 Sep 2005 18:23
Reporter: Miguel Solorzano Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S3 (Non-critical)
Version:5.0.14-rc OS:Windows (Windows)
Assigned to: CPU Architecture:Any

[23 Sep 2005 18:03] Miguel Solorzano
Description:
Compiling InnoDB with VS 2003 source BK:

ChangeSet@1.2001, 2005-09-23 21:28:47+04:00, dlenev@mysql.com
  Fix for yet another compilation failure on Windows which was introduced during
  work on WL#2787 "Add view definer/owner to the view definition (.frm) to check
  privileges on used tables and stored routines when using a VIEW."
  (aka bug #13402 "Windows VS 2003 Compiler error")

There are the below warnings and errors:

row0ins.c(1258): error C2275: 'FILE' : illegal use of this type as an expression
row0ins.c(1258): error C2065: 'ef' : undeclared identifier
row0ins.c(1260): warning C4047: 'function' : 'FILE *' differs in levels of indirection from 'int'
row0ins.c(1261): warning C4047: 'function' : 'FILE *' differs in levels of indirection from 'int'
row0ins.c(1262): warning C4047: 'function' : 'FILE *' differs in levels of indirection from 'int'
row0ins.c(1263): warning C4047: 'function' : 'FILE *' differs in levels of indirection from 'int'
row0ins.c(1264): warning C4047: 'function' : 'FILE *' differs in levels of indirection from 'int'
row0ins.c(1265): warning C4047: 'function' : 'FILE *' differs in levels of indirection from 'int'
row0ins.c(1266): warning C4047: 'function' : 'FILE *' differs in levels of indirection from 'int'
row0ins.c(1267): warning C4047: 'function' : 'FILE *' differs in levels of indirection from 'int'
row0ins.c(1269): warning C4047: 'function' : 'FILE *' differs in levels of indirection from 'int'
row0ins.c(1270): warning C4047: 'function' : 'FILE *' differs in levels of indirection from 'int'
row0ins.c(1271): warning C4047: 'function' : 'FILE *' differs in levels of indirection from 'int'
row0ins.c(1272): warning C4047: 'function' : 'FILE *' differs in levels of indirection from 'int'
row0ins.c(1273): warning C4047: 'function' : 'FILE *' differs in levels of indirection from 'int'
row0ins.c(1274): warning C4047: 'function' : 'FILE *' differs in levels of indirection from 'int'
row0ins.c(1275): warning C4047: 'function' : 'FILE *' differs in levels of indirection from 'int'

How to repeat:
Compile InnoDB on Windows.
[23 Sep 2005 18:23] Heikki Tuuri
Probably fixed with patch:
http://lists.mysql.com/internals/30283