[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ltdl, -ansi compiler flag and windows host

From: Bob Friesenhahn
Subject: Re: ltdl, -ansi compiler flag and windows host
Date: Sat, 14 Nov 2009 15:30:35 -0600 (CST)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Sat, 14 Nov 2009, Roumen Petrov wrote:

Hi All,

The failed case if project with ltdl included. If the project is configured with "-ansi" flag set to CFLAGS the build of installable ltdl fail with:

When -ansi is set compiler define __STRICT_ANSI__.

No idea how to fix and I don't know reasons for above expression. Why __STRICT_ANSI__ is part of expression ?

I believe that the intention of GCC is that when -ansi is provided that the compiler conforms to ANSI C. Note that for ANSI C, POSIX, and OpenGroup Unix standards, requesting the standard compilation environment *excludes* any interfaces and functionality which are not provided by that specification. It is necessary to request a standard which supplies everything which is needed. That is why such requests are often not made. In this case, the Windows APIs for loading modules are not available.

Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]