X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Date: Thu, 3 Mar 2011 00:03:02 +0100 From: Matthias Andree To: cygwin AT cygwin DOT com Subject: Re: log2f() in 1.7.8 Message-ID: <20110302230302.GA30778@merlin.emma.line.org> Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-PGP-Key: http://home.pages.de/~mandree/keys/GPGKEY.asc User-Agent: Mutt/1.5.21 (2010-12-30) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Wed, 02 Mar 2011, Víctor Paesa wrote: > Hi, > > In 1.7.7, log2f() is defined in math.h as > > extern float log2f _PARAMS((float)); > #if !defined(__cplusplus) > #define log2f(x) (logf (x) / (float) _M_LOG2_E) > #endif > > In 1.7.8, log2f() is defined in math.h as > > extern float log2f _PARAMS((float)); > #if !defined(__cplusplus) > #define log2f(x) (logf (x) / (float_t) _M_LOG2_E) > #endif > > This change broke the compilation of ffmpeg. > > Would it be possible to use again "float", instead of "float_t" ? Why? Fix ffmpeg instead. #include should suffice: ... #if !defined(__STRICT_ANSI__) || defined(__cplusplus) || __STDC_VERSION__ >= 199901L /* ISO C99 types and macros. */ #ifndef FLT_EVAL_METHOD #define FLT_EVAL_METHOD 0 typedef float float_t; typedef double double_t; #endif /* FLT_EVAL_METHOD */ ... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple