Re: Build failure with fastcgi module

Bruno Haible <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <3745632.oMh0fEymgn@omega>
Hi Ken,

> I'd like to try removing all uses of '#include <windows.h>' from the Cygwin build.
> Cygwin is a Posix platform, and trying to mix the Posix API with the Windows API
> often causes problems.

Do you mean
  a) to not use Windows API on Cygwin?
  b) keep using the Windows API on Cygwin, but don't include <windows.h> from
     lispbibl.d and clisp.h.

a) If you know good replacements for our uses of the Windows API?

b) I would advise against this.

   In a world where the system's include files are all standalone and not
   conflicting (like glibc systems), it's OK if every compilation unit does
   only the #includes that it needs.

   But in a world where the include files define types differently, have to
   be included in a particular order, or define identifiers like ULONGLONG
   that belong in the programmer's namespace, it's less effort in the long
   run to use the same includes for all compilation units. This is how
   lispbibl.d started out, and this is why many other projects also have
   one main include file.

   With Cygwin and <windows.h> - which we DO need to mix in some places -
   we are in the second case.

Bruno



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.