Closed Bug 7205 Opened 26 years ago Closed 26 years ago

ANSI C++ violation

Categories

(MailNews Core :: Composition, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bruce, Assigned: bugzilla)

Details

Current build on May 26, 1999 (5-6pm PDT). aCC -ext -o nsMsgCompose.o -c -DUSE_AUTOCONF=1 -DMOZILLA_CLIENT=1 -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_ST_RDEV=1 -DHAVE_TZNAME=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_UINT=1 -DHAVE_UINT16_T=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_LIBC_R=1 -DHAVE_LIBM=1 -DHAVE_LIBL=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DRETSIGTYPE=void -DHAVE_STRCOLL=1 -DHAVE_STRFTIME=1 -DHAVE_UTIME_NULL=1 -DHAVE_VPRINTF=1 -DHAVE_FTIME=1 -DHAVE_GETCWD=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETWD=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV=1 -DHAVE_RMDIR=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCSPN=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRSPN=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_UNAME=1 -DHAVE_QSORT=! 1 -DHAVE_ WAITID=1 -DHAVE_REMAINDER=1 -DHAVE_LCHOWN=1 -DHAVE_STATVFS=1 -DHAVE_LOCALTIME_R=1 -DHAVE_SETVBUF=1 -DHAVE_GETTIMEOFDAY=1 -DGETTIMEOFDAY_TWO_ARGS=1 -DHAVE_IOS_BINARY=1 -DHAVE_CPP_EXPLICIT=1 -DHAVE_I18N_LC_MESSAGES=1 -DENABLE_PICS=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_DLL_SUFFIX=sl -DMODULAR_NETLIB=1 -DSTANDALONE_IMAGE_LIB=1 -DXP_UNIX=1 -DUNIX_EMBED=1 -DX_PLUGINS=1 -DUNIX_LDAP=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DLAYERS=1 -DNETSCAPE=1 -DNGEDITOR=1 -g +Z -DDEBUG -UNDEBUG -DDEBUG_cltbld -DTRACING -DOSTYPE=\"HP-UXB.10\" -DSingleSignon -DCookieManagement -DClientWallet -I../../../dist/./include -I../../../dist/include -I../../../../include -I/builds/tinderbox/SeaMonkey/nspr/include -I../../../dist/./public/jpeg -I../../../dist/./public/png -I../../../dist/./public/zlib -I/usr/include/X11 ../../../../mailnews/compose/src/nsMsgCompose.cpp Error (future) 250: "../../../../mailnews/compose/src/nsMsgCompose.cpp", line 1651 # An object cannot be deleted using a pointer of type 'void *' since the type of the object allocated is unknown. Either delete the object using the allocated type or call operator delete directly. delete pane->m_quoteclosure; ^^^^^^^^^^^^^^^^^^^^ Warning 611: "../../../../mailnews/compose/src/nsMsgCompose.cpp", line 1862 # Label 'FAIL' has no uses. FAIL: ^^^^^ NEXT Warning: 1 future errors were detected and ignored. Add a '+p' option to detect and fix them before they become fatal errors in a future release. Behavior of this ill-formed program is not guaranteed to match that of a well-formed program
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Target Milestone: M7
nsMsgCompose.cpp has been totally rewritten and therefore doesn't have anymore this line of code.
QA Contact: lchiang → suresh
Status: RESOLVED → VERIFIED
Couldn't see this line, as it has been rewritten completely. Marking it as fixed.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.