Closed
Bug 301
Opened 26 years ago
Closed 26 years ago
CXX V6.0-20 "NULL" explicit cast needed
Categories
(SeaMonkey :: Build Config, defect, P3)
Tracking
(Not tracked)
VERIFIED
WONTFIX
People
(Reporter: berkley, Assigned: dp)
Details
Created by Berkley Shands (berkley@cs.wustl.edu) on Wednesday, May 6, 1998 6:51:18 AM PDT
Additional Details :
cxx: Error: fb.cpp, line 57: no instance of constructor
"wfList::wfList" matches the argument list
argument types are: (long)
FontBrokerObject() : fpPeers(NULL), fpPeersFromCatalog(NULL)
-----------------------------^
This is similar to the other CXX complaint. GNU just doesn't
care about arguments. the CXX compiler is VERY picky.
the fix is to add a constructor to wfList.h supporting
an argument of long...
at line 66
public:
// Constructor
wfList(WF_FREE_FUNC freeFunc);
#if defined(OSF1)
wfList(long);
#endif
and add code in wfList.cpp
at line 49
#if defined(OSF1)
wfList::wfList(WF_FREE_FUNC freeFunc)
: head(NULL), tail(NULL), freeItemFunc(NULL)
{
}
FYI - In my multiplatform code I've collected these...
/* The following pre-defined symbols are provided by the
compiler */
/* _MSC_VER - Visual C++ version ID 4.2E */
/* __BCPLUSPLUS__ - Borland C++ V5.0 */
/* __SUNPRO_CC - Sun Sparcworks Pro V3.1 */
/* __DECCXX - Digital CXX V5.6 */
/* __DECCXX_VER = 60030001 first F/T of V6.0 */
/* __DECCXX_VER = 50660098 -oldcxx (V5.6-098) */
/* __UNIX All flavors of real unix */
/* WIN32 Both flavors of Intel/MS NT4.0 */
/* __GNUG__ GNU G++ */
/* __NetBSD__ NetBSD unix */
/* __i386 used with NetBSD for Intel
platforms */
/* __mips64 SGI 7.x Compilers (not pre-defined)
*/
/* __mips SGI systems (GNU) */
/* __linux__ Linux running on an Intel Platform
*/
#endif
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•26 years ago
|
||
Thanks for pointing this out. In general, I consider it good practice to fix
warnings. I would do this as soon as I find some time.
Updated•26 years ago
|
Component: FontLib → Build Config
Product: MozillaClassic → Browser
Version: 1998-04-08 → other
Comment 2•26 years ago
|
||
not sure if this is still relevant, bug moving over to Product Browser as
Mozilla Classic is being retired.
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → WONTFIX
Assignee | ||
Comment 3•26 years ago
|
||
libfont/ wont be in seamonkey.
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•