Ethereal-dev: [Ethereal-dev] Unresolved extern __HUGE when linking to an ethereal library on W

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

From: "jscott" <jscott@xxxxxxxxxxxxxxx>
Date: Fri, 24 Sep 2004 10:53:30 -0700

I have  a version of the ethereal code which compiles to a static library undeer MSVC7.  When I try to link this with an application, I get the error:

 

ethereal_d.lib(ftype-double.obj) : error LNK2001: unresolved external symbol __HUGE

 

Looking at the file ftype-double.c, the only reference to HUGE is in the line:

 

          else if (fv->value.floating == HUGE_VAL) {

              logfunc("\"%s\" causes floating-point overflow.", s);

 

Jim Scott