Ethereal-dev: Re: SV: [Ethereal-dev] Re: [Ethereal-cvs] rev 17094: /trunk/gtk/:sctp_byte_graph

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Michael Tuexen <Michael.Tuexen@xxxxxxxxxxxxxxxxx>
Date: Tue, 24 Jan 2006 22:43:52 +0100
I'm always 'surprised' by Windows, never really worked with it...

Best regards
Michael

On Jan 24, 2006, at 10:33 PM, Anders Broman wrote:

Hi,
Looks like it's not supported by MSVC6.

See the latest Buildbot compile logs
http://buildbot.ethereal.com/Windows-2003-IA32/builds/1209/compile/0

The warnings are not addressed.
Brg
Anders

Linking ethereal.exe
	link @C:\DOCUME~1\buildbot\LOCALS~1\Temp\2\nma03432.
libui.lib(sctp_graph_dlg.obj) : error LNK2001: unresolved external symbol
_round
libui.lib(sctp_byte_graph_dlg.obj) : error LNK2001: unresolved external
symbol _round
ethereal.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
program finished with exit code 2

And before that:
sctp_graph_dlg.c
sctp_graph_dlg.c(953) : warning C4013: 'round' undefined; assuming extern
returning int
sctp_graph_dlg.c(958) : warning C4244: 'function' : conversion from 'double
' to 'int ', possible loss of data
sctp_graph_dlg.c(958) : warning C4244: 'function' : conversion from 'double
' to 'int ', possible loss of data
sctp_graph_dlg.c(958) : warning C4244: 'function' : conversion from 'double
' to 'int ', possible loss of data
sctp_graph_dlg.c(958) : warning C4244: 'function' : conversion from 'double
' to 'int ', possible loss of data
sctp_graph_dlg.c(959) : warning C4244: 'function' : conversion from 'double
' to 'int ', possible loss of data
sctp_graph_dlg.c(959) : warning C4244: 'function' : conversion from 'double
' to 'int ', possible loss of data
sctp_graph_dlg.c(959) : warning C4244: 'function' : conversion from 'double
' to 'int ', possible loss of data
sctp_graph_dlg.c(959) : warning C4244: 'function' : conversion from 'double
' to 'int ', possible loss of data
sctp_graph_dlg.c(968) : warning C4244: 'function' : conversion from 'double
' to 'int ', possible loss of data
sctp_graph_dlg.c(969) : warning C4244: 'function' : conversion from 'double
' to 'int ', possible loss of data
sctp_byte_graph_dlg.c
sctp_byte_graph_dlg.c(935) : warning C4013: 'round' undefined; assuming
extern returning int
sctp_byte_graph_dlg.c(940) : warning C4244: 'function' : conversion from
'double ' to 'int ', possible loss of data
sctp_byte_graph_dlg.c(940) : warning C4244: 'function' : conversion from
'double ' to 'int ', possible loss of data
sctp_byte_graph_dlg.c(940) : warning C4244: 'function' : conversion from
'double ' to 'int ', possible loss of data
sctp_byte_graph_dlg.c(940) : warning C4244: 'function' : conversion from
'double ' to 'int ', possible loss of data
sctp_byte_graph_dlg.c(941) : warning C4244: 'function' : conversion from
'double ' to 'int ', possible loss of data
sctp_byte_graph_dlg.c(941) : warning C4244: 'function' : conversion from
'double ' to 'int ', possible loss of data
sctp_byte_graph_dlg.c(941) : warning C4244: 'function' : conversion from
'double ' to 'int ', possible loss of data
sctp_byte_graph_dlg.c(941) : warning C4244: 'function' : conversion from
'double ' to 'int ', possible loss of data
sctp_byte_graph_dlg.c(950) : warning C4244: 'function' : conversion from
'double ' to 'int ', possible loss of data
sctp_byte_graph_dlg.c(951) : warning C4244: 'function' : conversion from
'double ' to 'int ', possible loss of data
sctp_error_dlg.c
service_response_time_table.c
simple_dialog.c
stream_prefs.c
summary_dlg.c
supported_protos_dlg.c
tap_dfilter_dlg.c
Generating Code...
sctp_byte_graph_dlg.c(940) : warning C4761: integral size mismatch in
argument; conversion supplied
sctp_byte_graph_dlg.c(940) : warning C4761: integral size mismatch in
argument; conversion supplied
sctp_byte_graph_dlg.c(940) : warning C4761: integral size mismatch in
argument; conversion supplied
sctp_byte_graph_dlg.c(940) : warning C4761: integral size mismatch in
argument; conversion supplied
sctp_byte_graph_dlg.c(941) : warning C4761: integral size mismatch in
argument; conversion supplied
sctp_byte_graph_dlg.c(941) : warning C4761: integral size mismatch in
argument; conversion supplied
sctp_byte_graph_dlg.c(941) : warning C4761: integral size mismatch in
argument; conversion supplied
sctp_byte_graph_dlg.c(941) : warning C4761: integral size mismatch in
argument; conversion supplied
sctp_byte_graph_dlg.c(952) : warning C4761: integral size mismatch in
argument; conversion supplied
sctp_byte_graph_dlg.c(952) : warning C4761: integral size mismatch in
argument; conversion supplied
sctp_graph_dlg.c(958) : warning C4761: integral size mismatch in argument;
conversion supplied
sctp_graph_dlg.c(958) : warning C4761: integral size mismatch in argument;
conversion supplied
sctp_graph_dlg.c(958) : warning C4761: integral size mismatch in argument;
conversion supplied
sctp_graph_dlg.c(958) : warning C4761: integral size mismatch in argument;
conversion supplied
sctp_graph_dlg.c(959) : warning C4761: integral size mismatch in argument;
conversion supplied
sctp_graph_dlg.c(959) : warning C4761: integral size mismatch in argument;
conversion supplied
sctp_graph_dlg.c(959) : warning C4761: integral size mismatch in argument;
conversion supplied
sctp_graph_dlg.c(959) : warning C4761: integral size mismatch in argument;
conversion supplied
sctp_graph_dlg.c(970) : warning C4761: integral size mismatch in argument;
conversion supplied
sctp_graph_dlg.c(970) : warning C4761: integral size mismatch in argument;
conversion supplied
Compiling...


-----Ursprungligt meddelande-----
Från: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx] För Michael Tuexen
Skickat: den 24 januari 2006 22:19
Till: ethereal-dev@xxxxxxxxxxxx
Ämne: [Ethereal-dev] Re: [Ethereal-cvs] rev 17094:
/trunk/gtk/:sctp_byte_graph_dlg.c sctp_graph_dlg.c

Does it mean, Windows does not support round()? round is what was
intended...

Best regards
Michael

On Jan 24, 2006, at 8:20 PM, etxrab@xxxxxxxxxxxx wrote:

User: etxrab
Date: 2006/01/24 02:20 PM

Log:
 Replace round() with floor(), I don't know if it's the right thing
to do but at least it compiles on Windows again.

Directory: /trunk/gtk/
  Changes    Path                     Action
  +1 -1      sctp_byte_graph_dlg.c    Modified
  +1 -1      sctp_graph_dlg.c         Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=17094&view=rev

_______________________________________________
Ethereal-cvs mailing list
Ethereal-cvs@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-cvs


_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev


_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev