mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2025-12-06 02:40:26 -08:00
Merge branch 'develop' into mobile
This commit is contained in:
commit
060fa6b4bf
7 changed files with 30 additions and 4 deletions
11
CHANGELOG
11
CHANGELOG
|
|
@ -40,7 +40,7 @@
|
|||
ecl_import_current_thread
|
||||
ecl_release_current_thread
|
||||
|
||||
- When cl-truename encounters a broken symlink it returns it's path
|
||||
- When cl-truename encounters a broken symlink, it returns its path
|
||||
instead of signalling a file-error
|
||||
|
||||
- Deprecated variables has been removed
|
||||
|
|
@ -55,6 +55,15 @@
|
|||
|
||||
- C99 supporting compiler is mandatory for C backend.
|
||||
|
||||
- COMPILER::*cc_is_cxx*: New variable to switch the output extension of
|
||||
emitted compiler code to ".cxx" when configured with "--with-c++". This
|
||||
eliminates compiler warnings that compiling C++ with a ".c" extension is
|
||||
deprecated; this is seen mostly with Clang++.
|
||||
|
||||
- Added Clang-specific pragmas to disable return type, unused value and
|
||||
excessive parentheses warnings, which are fairly harmless, but annoying
|
||||
and clutter user output.
|
||||
|
||||
** Enhancements:
|
||||
|
||||
- Added code walker (present as *feature* :walker)
|
||||
|
|
|
|||
4
LICENSE
4
LICENSE
|
|
@ -28,11 +28,13 @@
|
|||
src/lsp/format.lsp ; CMUCL's format
|
||||
and the directories
|
||||
contrib/ ; User contributed extensions
|
||||
examples/ ; Examples for the ECL usage
|
||||
src/clx/ ; portable CLX library from Telent
|
||||
Look the precise copyright of these extensions in the corresponding
|
||||
files.
|
||||
Examples are licensed under: (SPDX-License-Identifier) BSD-2-Clause
|
||||
|
||||
Report bugs, comments, suggestions to the ecl mailing list:
|
||||
ecls-list@lists.sourceforge.net.
|
||||
ecl-devel@common-lisp.net.
|
||||
|
||||
---- END OF COPYRIGHT FOR THE ECL CORE ENVIRONMENT ------------------
|
||||
|
|
|
|||
|
|
@ -52,6 +52,9 @@ coprocessor).")
|
|||
(t
|
||||
"~A -I. \"-I~A\" ~A ~:[~*~;~A~] -w -c \"~A\" -o \"~A\"~{ '~A'~}")))
|
||||
|
||||
(defvar *cc-is-cxx* @CC_IS_CXX@
|
||||
"ECL's compiler is really the C++ compiler, not a C compiler.")
|
||||
|
||||
#-dlopen
|
||||
(defvar *ld-flags* "@LDFLAGS@ -lecl @CORE_LIBS@ @FASL_LIBS@ @LIBS@")
|
||||
#+dlopen
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ the environment variable TMPDIR to a different value." template))
|
|||
((:static-library :library :lib) (setf format +static-library-format+))
|
||||
(:data (setf extension "data"))
|
||||
(:sdata (setf extension "sdat"))
|
||||
(:c (setf extension "c"))
|
||||
(:c (setf extension (if (not *cc-is-cxx*) "c" "cxx")))
|
||||
(:h (setf extension "eclh"))
|
||||
(:object (setf extension +object-file-extension+))
|
||||
(:program (setf format +executable-file-format+))
|
||||
|
|
|
|||
5
src/configure
vendored
5
src/configure
vendored
|
|
@ -627,6 +627,7 @@ ECL_EXTRA_LISP_FILES
|
|||
CHAR_CODE_LIMIT
|
||||
ECL_CHARACTER
|
||||
CLX_INFO
|
||||
CC_IS_CXX
|
||||
ECL_CC
|
||||
POW_LIB
|
||||
LIBOBJS
|
||||
|
|
@ -9353,9 +9354,13 @@ fi
|
|||
if test ${with_cxx} = "no" ; then
|
||||
ECL_CC=${CC}
|
||||
|
||||
CC_IS_CXX="nil"
|
||||
|
||||
else
|
||||
ECL_CC=${CXX}
|
||||
|
||||
CC_IS_CXX="t"
|
||||
|
||||
boehm_configure_flags="${boehm_configure_flags} --enable-cplusplus"
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -746,8 +746,10 @@ dnl ----------------------------------------------------------------------
|
|||
dnl Do we use C or C++ compiler to compile ecl?
|
||||
if test ${with_cxx} = "no" ; then
|
||||
AC_SUBST([ECL_CC], [${CC}])
|
||||
AC_SUBST([CC_IS_CXX], ["nil"])
|
||||
else
|
||||
AC_SUBST([ECL_CC], [${CXX}])
|
||||
AC_SUBST([CC_IS_CXX], ["t"])
|
||||
boehm_configure_flags="${boehm_configure_flags} --enable-cplusplus"
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,11 @@
|
|||
* defined */
|
||||
#define _WINSOCKAPI_
|
||||
#endif /* __CYGWIN__ */
|
||||
/* Disable a couple of clang's more annoying diagnostics */
|
||||
#pragma clang diagnostic ignored "-Wreturn-type"
|
||||
#pragma clang diagnostic ignored "-Wunused-value"
|
||||
#pragma clang diagnostic ignored "-Wparentheses-equality"
|
||||
|
||||
#include <ecl/ecl.h>
|
||||
#include <math.h> /* for inline mathematics */
|
||||
#include <ecl/ecl-inl.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue