[Ecls-list] OS X Build problem

Karsten Poeck Karsten.Poeck at gmail.com
Sun Dec 10 23:07:14 UTC 2006


"Juan Jose Garcia-Ripoll" 
<jjgarcia at users.sourceforge.net> wrote in 
message news:c159f9ab0612100515g762e2798yb520c906e671a0e5 at mail.gmail.com...
> 2006/12/10, Karsten Poeck 
> <Karsten.Poeck at gmail.com>:
>> I remember errors compiling cl-http with msvc because of the size of the
>> generated c-code. With mingw it worked just fine.
>
Just rechecked the issue with msvc and cl.http. Compiling cl-http results 
in:
.....
;;; cl  -MD -GX -DGC_DLL -nologo  -O2 -I"C:/ECL9i/" -w -c 
"C:/data/cvs/cl-http-s
vn/server/html4.c" -Fo"C:/data/cvs/cl-http-svn/server/html4.obj"

html4.c
C:/data\cvs\cl-http-svn\server\html4.data(821) : fatal error C1091: compiler 
lim
it: string exceeds 65535 bytes in length

I think this is a really long comment string.

Mingw compiles just fine (and runs fine my tests)

MS-help says:
Visual C++ Concepts: Building a C/C++ Program
Fatal Error C1091

Error Message
compiler limit: string exceeds 'length' bytes in length


A string constant exceeded the current limit on the length of strings.

You may want to split the static string into two (or more) variables and use 
strcpy to join the result as part of the declaration or during run time.


salu2

Karsten







More information about the ecl-devel mailing list