ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Motsyo Gennadi aka Drool <motsyo@gmail.com>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] unrecognized option `-fwrapv'
Date: Thu, 21 Dec 2006 12:02:07 +0200
Message-ID: <20061221120207.31f6786e@drool.brda.net> (raw)
In-Reply-To: <679044850612210155s56813973w276d9038ad0a45c8@mail.gmail.com>

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

"Damir Shayhutdinov" <damir@altlinux.org> wrote:

> >         Собираю (пытаюсь) http://qbittorrent.org
> > По зависимостям я его удовлетворил :-) Но компиляция валится:
> >
> > cc1plus: error: unrecognized option `-fwrapv'
> >
> >         Это содержит файл /src/src.pro из указанной софтины:
> > QMAKE_CXXFLAGS_RELEASE += -fwrapv
> > QMAKE_CXXFLAGS_DEBUG += -fwrapv
> >
> >         Что это за опция?
> 
> -fwrapv
> 
> This option instructs the compiler to assume that signed arithmetic
> overflow of addition, subtraction and multiplication wraps around
> using twos-complement representation.  This flag enables some
> optimizations and disables others.  This option is enabled by default
> for the Java front-end, as required by the Java language
> specification.
> 
> >         Если руками убрать эту опцию, валится:
> > In file included from /usr/include/qt4/QtCore/qnamespace.h:27,
> >                  from /usr/include/qt4/QtCore/qobjectdefs.h:27,
> >                  from /usr/include/qt4/QtCore/qobject.h:29,
> >                  from /usr/include/qt4/QtCore/QObject:1,
> >                  from trayicon/trayicon.h:25,
> >                  from trayicon/trayicon.cpp:22:
> > /usr/include/qt4/QtCore/qglobal.h:1253: error: syntax error before `if'
> 
> Скорее всего, валится не из-за fwrapv. Покажите что на строчке 1253 в
> qglobal.h.

inline QNoDebug qDebug();

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

  reply	other threads:[~2006-12-21 10:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-21  9:45 Motsyo Gennadi aka Drool
2006-12-21  9:55 ` Damir Shayhutdinov
2006-12-21 10:02   ` Motsyo Gennadi aka Drool [this message]
2006-12-21 11:47     ` Motsyo Gennadi aka Drool
2006-12-21 11:50       ` Motsyo Gennadi aka Drool
2006-12-21 11:51     ` Damir Shayhutdinov
2006-12-21 11:53       ` Motsyo Gennadi aka Drool
2006-12-21 11:56         ` Motsyo Gennadi aka Drool
2006-12-21 12:00         ` Damir Shayhutdinov

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=20061221120207.31f6786e@drool.brda.net \
    --to=motsyo@gmail.com \
    --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