* [devel] cc1plus: warning: changing search order...
@ 2002-11-23 22:51 Vitaly Lipatov
2002-11-24 12:58 ` [devel] " Mikhail Zabaluev
0 siblings, 1 reply; 2+ messages in thread
From: Vitaly Lipatov @ 2002-11-23 22:51 UTC (permalink / raw)
To: devel; +Cc: aen
У меня частный вопрос общего плана :) по gcc 3.2.1
При компиляции выдаётся следующее предупреждение:
cc1plus: warning: changing search order for system directory
"/usr/include"
cc1plus: warning: as it has already been specified as a
non-system directory
из-за того, что в -I указано /usr/include
(Это в gnomemeeting, подключается библиотека pwlib)
Так как pwlib использует хитрые манипуляции со своими
каталогами, и всё зависит от порядка указания -I,
то компилироваться проект перестаёт.
Вопрос: отключать изменение порядка /usr/include или
перекладывать pwlib в такое место, чтобы всё работало.
Например, сейчас такое дерево:
/usr/include/ptlib.h
/usr/include/ptlib/
/usr/include/ptlib/unix/ptlib
/usr/include/ptclib/
Если перенести так
/usr/include/ptlib/ptlib.h
/usr/include/ptlib/ptlib/
/usr/include/ptlib/ptlib/unix/ptlib
/usr/include/ptlib/ptclib/
то всё будет хорошо.
Штука в том, что в ptlib.h
стоит #include <ptlib/contain.h>, который должен ставлять
/usr/include/ptlib/unix/ptlib...
P.S.
Из-за этого и собственной глупости только сейчас собрал наконец
GnomeMeeting 0.94.1
--
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!
^ permalink raw reply [flat|nested] 2+ messages in thread
* [devel] Re: cc1plus: warning: changing search order...
2002-11-23 22:51 [devel] cc1plus: warning: changing search order Vitaly Lipatov
@ 2002-11-24 12:58 ` Mikhail Zabaluev
0 siblings, 0 replies; 2+ messages in thread
From: Mikhail Zabaluev @ 2002-11-24 12:58 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 736 bytes --]
Hello Vitaly,
On Sun, Nov 24, 2002 at 01:51:10AM +0300, Vitaly Lipatov wrote:
>
> У меня частный вопрос общего плана :) по gcc 3.2.1
> При компиляции выдаётся следующее предупреждение:
> cc1plus: warning: changing search order for system directory
> "/usr/include"
> cc1plus: warning: as it has already been specified as a
> non-system directory
> из-за того, что в -I указано /usr/include
> (Это в gnomemeeting, подключается библиотека pwlib)
Выжигать калёным железом там, где этот -I указан.
--
Stay tuned,
MhZ JID: mookid@jabber.org
___________
Perilous to all of us are the devices of an art deeper than we ourselves
possess.
-- Gandalf the Grey [J.R.R. Tolkien, "Lord of the Rings"]
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-24 12:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-23 22:51 [devel] cc1plus: warning: changing search order Vitaly Lipatov
2002-11-24 12:58 ` [devel] " Mikhail Zabaluev
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