Commit graph

3154 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
5aff005c35 Do not create varargs C variable when it is not used. 2009-07-26 12:38:31 +02:00
Juan Jose Garcia Ripoll
b2e3a050a8 Remove two warnings for constantly-{t,nil} 2009-07-26 12:25:25 +02:00
Juan Jose Garcia Ripoll
e6a872e731 Removed two unused fields, isform and mflag, from ecl_symbol. HEADER3 and HEADER4 2009-07-26 12:07:41 +02:00
Juan Jose Garcia Ripoll
da641873e4 In structures ecl_{array,vector,base_string,string}, replaced the bitfields hasfillp and adjustable with a single integer holding all flags. This solves several problems with Microsoft C compiler. 2009-07-26 11:56:26 +02:00
Juan Jose Garcia Ripoll
92d5aac5eb We cannot build MSVC with debug information on variables because the compiler does not allow us to statically initialize arrays/vectors of the ecl_array/ecl_vector type 2009-07-24 20:26:09 +02:00
Juan Jose Garcia Ripoll
a0f06986b1 Fixed error in proclamation of si:get-sysprop. 2009-07-24 20:12:28 +02:00
Juan Jose Garcia Ripoll
7a08ed15ab We cannot build statically allocated arrays with the Microsoft compiler. 2009-07-24 19:55:57 +02:00
Juan Jose Garcia Ripoll
882727239c Make linking phase less verbose. 2009-07-24 18:52:45 +02:00
Juan Jose Garcia Ripoll
49860dbf7a We also have problems with "profile" and the garbage collector under mingw32. 2009-07-24 16:34:07 +02:00
Juan Jose Garcia Ripoll
267654ba08 Remove debug statement 2009-07-24 15:59:01 +02:00
Juan Jose Garcia Ripoll
efc4505d58 The ld-format variable can not use tilde-question-mark format because the remaining linker options may contain tildes (happens in Windows) and be misunderstood as format commands 2009-07-24 15:58:45 +02:00
Juan Jose Garcia Ripoll
6c070c4b2a Remove the flatinstall option for cygwin, which is no longer needed because ecl.dll is installed where ecl.exe is 2009-07-24 15:57:48 +02:00
Juan Jose Garcia Ripoll
2e7ce196e3 ecl.dll has to be stored in the same directory as ecl.exe 2009-07-24 15:57:23 +02:00
Juan Jose Garcia Ripoll
df67606f77 Fixes for cygwin 2009-07-24 11:19:39 +02:00
Juan Jose Garcia Ripoll
ef5b830f61 Use flatinstall for cygwin 2009-07-24 10:48:16 +02:00
Juan Jose Garcia Ripoll
e8bcc0697b Solaris needs C99 to compile with XOpen specifications 2009-07-23 18:05:36 +02:00
Juan Jose Garcia Ripoll
276888f6d5 Yet another iteration of the Makefile problem. This time it seems to keep happy both Solaris and NetBSD. 2009-07-23 17:36:40 +02:00
Juan Jose Garcia Ripoll
ba4e784a10 Slightly modified the Makefile so that it works with Solaris' make 2009-07-23 17:11:31 +02:00
Juan Jose Garcia Ripoll
fa2bcce0f4 SA_SIGINFO is only defined in Solaris when using _XOPEN_SOURCE >= 500 2009-07-23 16:15:39 +02:00
Juan Jose Garcia Ripoll
857807f813 Fixed an error in si::get-library-pathname under Windows. 2009-07-21 22:21:27 +02:00
Juan Jose Garcia Ripoll
7a1cb72234 The MSVC builds without unicode can not use external formats. 2009-07-21 22:21:07 +02:00
Juan Jose Garcia Ripoll
d9d787f84d Set the value of the new field array.hasfillp to zero 2009-07-21 22:20:41 +02:00
Juan Jose Garcia Ripoll
ba0d9f826e Force the same header in arrays and vectors, because MSVC does not produce the right values for bit fields. 2009-07-21 22:20:25 +02:00
Juan Jose Garcia Ripoll
ff6b91be36 Definition of ECL_{INT,LONG}_BITS missing in msvc. 2009-07-21 20:57:44 +02:00
Juan Jose Garcia Ripoll
fd8dca7a4d We have to allocate and set the environment before being able to call alloc_process in ecl_import_current_thread. 2009-07-15 15:27:13 +02:00
Juan Jose Garcia Ripoll
69725f20c6 The compiler now emits more accurate conversions from and to C types using the new functions (See CHANGELOG for the problem solved) 2009-07-15 15:19:43 +02:00
Juan Jose Garcia Ripoll
2ca580b13c New routines to convert lisp objects to 'int', 'long' and 'bool'. 2009-07-15 15:19:08 +02:00
Juan Jose Garcia Ripoll
bae4afc9c3 Teach ECL to detect the size of 'int' and 'long' 2009-07-15 15:18:34 +02:00
Juan Jose Garcia Ripoll
bfb6e2cef7 Remove debug statement 2009-07-13 23:49:26 +02:00
Juan Jose Garcia Ripoll
55eeb0e955 Remove debug statement 2009-07-13 23:48:52 +02:00
Juan Jose Garcia Ripoll
7ea5a3c6a3 Document latest changes and release announcement. 2009-07-13 16:20:01 +02:00
Juan Jose Garcia Ripoll
01b27216ac Default flags for OpenBSD include -lpthread because they force us to use the multithreaded version of the library and this one does not link in -lpthread. 2009-07-13 15:14:12 +02:00
Juan Jose Garcia Ripoll
99cdc4dae7 CALL-GLOBAL-LOC used the values type of a c1form instead of the primary type and thus no safe inline form from sysfun.lsp matched any reasonable expansion. 2009-07-13 12:06:01 +02:00
Juan Jose Garcia Ripoll
c8118dd93c The utility functions for ENSURE-*-TYPE returned the argument type in the third and not in the second value (cmpnum.lsp) 2009-07-13 11:48:49 +02:00
Juan Jose Garcia Ripoll
f80bb43e28 In the type propagator for ISQRT, remove the circular reader forms. 2009-07-12 23:52:59 +02:00
Juan Jose Garcia Ripoll
eb4b073e8b CIS, ASIN, ACOS, ASINH, ACOSH and ATANH now use the calling convention for functions with a fixed number of arguments 2009-07-12 23:47:24 +02:00
Juan Jose Garcia Ripoll
f5c03a9638 Fixed a couple of typos in the new type propagations for special functions 2009-07-12 23:46:45 +02:00
Juan Jose Garcia Ripoll
fb5306016c The previous improvement for FEreader_error broke the cases in which it is used as FEparser_error (i.e. stream = Cnil). 2009-07-12 23:39:27 +02:00
Juan Jose Garcia Ripoll
88498d35f5 Type propagators now work with type names, not with C1FORMS (More general and will allow caching in the future). Implemented type propagators for COS, SIN, TAN, COSH, SINH, TANH, ATAN, SQRT, ABS, ISQRT, LOG, EXP, EXPT. 2009-07-12 20:16:23 +02:00
Juan Jose Garcia Ripoll
2657f3b9d0 Added proclamation for CIS. Made proclamation of LOG and ATAN more precise. 2009-07-12 20:14:16 +02:00
Juan Jose Garcia Ripoll
65635f1452 Minor read-only annotations in cmpopt.lsp 2009-07-09 23:31:50 +02:00
Juan Jose Garcia Ripoll
3e761f0ef5 Report file position in reader errors 2009-07-09 23:12:33 +02:00
Juan Jose Garcia Ripoll
cae50cb7b3 Changed the file for tagging ECL releases 2009-07-09 16:08:12 +02:00
Juan Jose Garcia Ripoll
7e694a08fd Invalid inline expansion for SCHAR. 2009-07-09 11:00:24 +02:00
Juan Jose Garcia Ripoll
35db06be18 Note some of the latest changes regarding type inference 2009-07-09 10:36:52 +02:00
Juan Jose Garcia Ripoll
d2e864e74a Allow c-inline, one-liner forms to output values in the VALUES register. 2009-07-09 10:36:01 +02:00
Juan Jose Garcia Ripoll
a57cb9e32a Deactivate a debug statement in type-and 2009-07-09 10:35:27 +02:00
Juan Jose Garcia Ripoll
03afa98d41 Since not always the compiler macros are applied, we are forced to have type propagators that handle the 1, 2 and more argument cases for +, *, / and -. 2009-07-08 23:03:13 +02:00
Juan Jose Garcia Ripoll
759fa298ab Remove a debug assertion. 2009-07-08 23:02:34 +02:00
Juan Jose Garcia Ripoll
1f83e389fb Fixed typos in the inline expanders for two-argument versions of CEILING TRUNCATE and ROUND. 2009-07-08 22:30:45 +02:00