ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: REAL <real@kemsu.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] gcc4.8 bad, bad
Date: Thu, 27 Feb 2014 14:40:36 +0700
Message-ID: <530EEBF4.3060002@kemsu.ru> (raw)
In-Reply-To: <20140227022624.GA12858@altlinux.org>

27.02.2014 09:26, Dmitry V. Levin пишет:
>> 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>
> }
>
> - он и не компилируется.

Нет, я проверил, ничего такого там нет.


-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ



  parent reply	other threads:[~2014-02-27  7:40 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
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     ` REAL [this message]
2014-02-27 10:17       ` [devel] gcc4.8 bad, bad 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=530EEBF4.3060002@kemsu.ru \
    --to=real@kemsu.ru \
    --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