ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] gcc4.8 bad, bad
Date: Thu, 27 Feb 2014 06:26:24 +0400
Message-ID: <20140227022624.GA12858@altlinux.org> (raw)
In-Reply-To: <530D68DC.7080500@kemsu.ru>

[-- Attachment #1: Type: text/plain, Size: 1353 bytes --]

On Wed, Feb 26, 2014 at 11:09:00AM +0700, REAL wrote:
> Package: coin3d-3.1.3-alt8
> Status: Sisyphus/i586 test rebuild failed
> Cannot build this package for 1 week(s).
> Please investigate.
> Excerpt from build log:
> 
> [...]
>  i586-alt-linux-g++ -DHAVE_CONFIG_H -I../../include -I../../include 
> -I../../src -I../../src -D_REENTRANT -DCOIN_DEBUG=1 -DCOIN_INTERNAL 
> -pipe -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/directfb 
> -fpermissive -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual 
> -fno-builtin -finline-functions -Wreturn-type -Wchar-subscripts 
> -Wparentheses -c freetype.cpp  -fPIC -DPIC -o .libs/freetype.o
> In file included from ../../src/base/dict.h:31:0,
>                  from freetype.cpp:142:
> /usr/include/c++/4.8/cstdlib: In function 'long long int std::abs(long 
> long int)':
> /usr/include/c++/4.8/cstdlib:174:20: error: declaration of C function 
> 'long long int std::abs(long long int)' conflicts with
>    abs(long long __x) { return __builtin_llabs (__x); }
>                     ^
> /usr/include/c++/4.8/cstdlib:166:3: error: previous declaration 'long 
> int std::abs(long int)' here
>    abs(long __i) { return __builtin_labs(__i); }
>    ^
> [...]

У вас там код, эквивалентный

extern "C" {
#include <cstdlib>
}

- он и не компилируется.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2014-02-27  2:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-26  4:09 ` REAL
2014-02-26 12:09   ` Dmitry V. Levin
2014-02-27  0:56     ` REAL
2014-02-27  2:26   ` Dmitry V. Levin [this message]
2014-02-27  2:29     ` REAL
2014-02-27  7:50       ` Michael Shigorin
2014-02-27  7:51         ` REAL
2014-02-27  8:23           ` Sergey Y. Afonin
2014-02-27 11:10           ` [devel] gcc4.8 bad Michael Shigorin
2014-02-27  7:40     ` [devel] gcc4.8 bad, bad REAL
2014-02-27 10:17       ` Dmitry V. Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140227022624.GA12858@altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git