 |
Forums |
Admin Start New Thread
By: Daniel Berger
RE: Warnings on Windows [ reply ] 2006-09-03 00:07
|
Building 0.5.9 with VC++ 6.0 on WinXP I still see these two warnings:
LINK : warning LNK4049: locally defined symbol "_cNArray" imported
LINK : warning LNK4049: locally defined symbol "_na_sizeof" imported
I'm not sure how significant those warnings are, though.
Thanks,
Dan
|
By: Daniel Berger
Warnings on Windows [ reply ] 2006-07-30 02:33
|
Hi,
Windows XP Pro SP2
Ruby 1.8.4 (one click)
VC++ 6
Just an FYI, I see the following warnings when I compile narray on my Windows box.
C:\ruby\src\narray-0.5.8>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -nologo -MD -Zi -O2b2xg- -G6 -I. -IC:/ruby/lib/ruby/1.8/i386-mswin32 -IC:/ruby/lib/ruby/1
.8/i386-mswin32 -I. -DHAVE_SYS_TYPES_H -c -Tcnarray.c
narray.c
narray.c(21) : warning C4273: 'cNArray' : inconsistent dll linkage. dllexport assumed.
narray.c(33) : warning C4273: 'na_sizeof' : inconsistent dll linkage. dllexport assumed.
narray.c(984) : warning C4028: formal parameter 2 different from declaration
cl -nologo -MD -Zi -O2b2xg- -G6 -I. -IC:/ruby/lib/ruby/1.8/i386-mswin32 -IC:/ruby/lib/ruby/1
.8/i386-mswin32 -I. -DHAVE_SYS_TYPES_H -c -Tcna_array.c
na_array.c
cl -nologo -MD -Zi -O2b2xg- -G6 -I. -IC:/ruby/lib/ruby/1.8/i386-mswin32 -IC:/ruby/lib/ruby/1
.8/i386-mswin32 -I. -DHAVE_SYS_TYPES_H -c -Tcna_func.c
na_func.c
na_func.c(1473) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *
)(const void *,const void *)'
na_func.c(1500) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *
)(const void *,const void *)'
na_func.c(1539) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *
)(const void *,const void *)'
cl -nologo -MD -Zi -O2b2xg- -G6 -I. -IC:/ruby/lib/ruby/1.8/i386-mswin32 -IC:/ruby/lib/ruby/1
.8/i386-mswin32 -I. -DHAVE_SYS_TYPES_H -c -Tcna_index.c
na_index.c
cl -nologo -MD -Zi -O2b2xg- -G6 -I. -IC:/ruby/lib/ruby/1.8/i386-mswin32 -IC:/ruby/lib/ruby/1
.8/i386-mswin32 -I. -DHAVE_SYS_TYPES_H -c -Tcna_random.c
na_random.c
C:\ruby\bin\ruby -I. ./mkop.rb
cl -nologo -MD -Zi -O2b2xg- -G6 -I. -IC:/ruby/lib/ruby/1.8/i386-mswin32 -IC:/ruby/lib/ruby/1
.8/i386-mswin32 -I. -DHAVE_SYS_TYPES_H -c -Tcna_op.c
na_op.c
C:\ruby\bin\ruby -I. ./mkmath.rb
cl -nologo -MD -Zi -O2b2xg- -G6 -I. -IC:/ruby/lib/ruby/1.8/i386-mswin32 -IC:/ruby/lib/ruby/1
.8/i386-mswin32 -I. -DHAVE_SYS_TYPES_H -c -Tcna_math.c
na_math.c
cl -nologo -MD -Zi -O2b2xg- -G6 -I. -IC:/ruby/lib/ruby/1.8/i386-mswin32 -IC:/ruby/lib/ruby/1
.8/i386-mswin32 -I. -DHAVE_SYS_TYPES_H -c -Tcna_linalg.c
na_linalg.c
cl -nologo -LD -Fenarray.so narray.obj na_array.obj na_func.obj na_index.obj na_random.obj n
a_op.obj na_math.obj na_linalg.obj msvcrt-ruby18.lib oldnames.lib user32.lib advapi32.lib wsock32.l
ib -link -incremental:no -debug -opt:ref -opt:icf -dll -libpath:"C:/ruby/lib" -def:./narray.def -im
plib:narray-i386-mswin32.lib -pdb:narray-i386-mswin32.pdb
Creating library narray-i386-mswin32.lib and object narray-i386-mswin32.exp
LINK : warning LNK4049: locally defined symbol "_cNArray" imported
LINK : warning LNK4049: locally defined symbol "_na_sizeof" imported
Regards,
Dan
|
|
 |