# HG changeset patch # User jwe # Date 1193292401 0 # Node ID 7773c0fdefa6147640b97d400e78bebc920ad7ac # Parent 97db94ae2cf09eda8dc817597155cd06093cb550 [project @ 2007-10-25 06:06:41 by jwe] diff -r 97db94ae2cf0 -r 7773c0fdefa6 src/ChangeLog --- a/src/ChangeLog Thu Oct 25 05:50:56 2007 +0000 +++ b/src/ChangeLog Thu Oct 25 06:06:41 2007 +0000 @@ -1,5 +1,8 @@ 2007-10-25 John W. Eaton + * ov-base.h (DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA): Use + OCTAVE_EMPTY_CPP_ARG to avoid annoying Sun compiler warning. + * Makefile.in (graphics.h): Use $(AWK) instead of awk. * DLD-FUNCTIONS/time.cc (Ftime, Fmktime): Avoid unnecessary cast. diff -r 97db94ae2cf0 -r 7773c0fdefa6 src/ov-base.h --- a/src/ov-base.h Thu Oct 25 05:50:56 2007 +0000 +++ b/src/ov-base.h Thu Oct 25 06:06:41 2007 +0000 @@ -60,8 +60,10 @@ // T_ID is the type id of struct objects, set by register_type(). // T_NAME is the type name of struct objects. +#define OCTAVE_EMPTY_CPP_ARG #define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA \ - DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 ( ) + DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG) +#undef OCTAVE_EMPTY_CPP_ARG #define DECLARE_OV_BASE_TYPEID_FUNCTIONS_AND_DATA \ DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2(virtual)