From: "Damir Shayhutdinov" <damir@altlinux.org> To: "ALT Devel discussion list" <devel@lists.altlinux.org> Subject: Re: [devel] unrecognized option `-fwrapv' Date: Thu, 21 Dec 2006 12:55:35 +0300 Message-ID: <679044850612210155s56813973w276d9038ad0a45c8@mail.gmail.com> (raw) In-Reply-To: <20061221114531.4c28bd8b@drool.brda.net> > Собираю (пытаюсь) 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.
next prev parent reply other threads:[~2006-12-21 9:55 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 [this message] 2006-12-21 10:02 ` Motsyo Gennadi aka Drool 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=679044850612210155s56813973w276d9038ad0a45c8@mail.gmail.com \ --to=damir@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