Mercurial > octave-antonio
view liboctave/link-deps.mk @ 20140:64a2d4c87ecb stable
Don't save "warning: " prefix in lastwarn() message.
* error.cc (vwarning): Save base_msg (without "warning: ") to Vlast_warning_message.
* error.cc (error_1): Use std::string operators rather than strsave to strip
"\n" from fmt string. Simpler syntax avoids having to delete [] memory created
with new.
* error.cc (warning_1): Strip trailing newline from fmt string as error_1 does.
* fail.m: Fix input validation which allowed nonsensical second input with 3
args. Don't post-process warning or error messages from lastwarn or lasterr.
Add BIST test for input validation.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 28 Apr 2015 14:03:03 -0700 |
parents | 82c94987abc6 |
children |
line wrap: on
line source
GNULIB_LINK_DEPS = \ $(COPYSIGNF_LIBM)\ $(COPYSIGN_LIBM)\ $(FLOORF_LIBM)\ $(FLOOR_LIBM)\ $(GETHOSTNAME_LIB)\ $(LIBSOCKET)\ $(LIB_NANOSLEEP)\ $(LIB_SELECT)\ $(LTLIBINTL)\ $(ROUNDF_LIBM)\ $(ROUND_LIBM)\ $(TRUNCF_LIBM)\ $(TRUNC_LIBM) LIBOCTAVE_LINK_DEPS = \ $(GNULIB_LINK_DEPS) \ $(CURL_LIBS) \ $(SPARSE_XLIBS) \ $(ARPACK_LIBS) \ $(QRUPDATE_LIBS) \ $(FFTW_XLIBS) \ $(LAPACK_LIBS) \ $(BLAS_LIBS) \ $(READLINE_LIBS) \ $(TERM_LIBS) \ $(LIBGLOB) \ $(PCRE_LIBS) \ $(DL_LIBS) \ $(PTHREAD_LIBS) \ $(FLIBS) \ $(LIBS) LIBOCTAVE_LINK_OPTS = \ $(CURL_LDFLAGS) \ $(SPARSE_XLDFLAGS) \ $(ARPACK_LDFLAGS) \ $(QRUPDATE_LDFLAGS) \ $(FFTW_XLDFLAGS)