From: Vitaly Lipatov <LAV@VL3143.spb.edu> To: devel@altlinux.ru Cc: aen@altlinux.ru Subject: [devel] cc1plus: warning: changing search order... Date: Sun, 24 Nov 2002 01:51:10 +0300 Message-ID: <200211240151.10148.LAV@VL3143.spb.edu> (raw) У меня частный вопрос общего плана :) по 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!
next reply other threads:[~2002-11-23 22:51 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-11-23 22:51 Vitaly Lipatov [this message] 2002-11-24 12:58 ` [devel] " Mikhail Zabaluev
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=200211240151.10148.LAV@VL3143.spb.edu \ --to=lav@vl3143.spb.edu \ --cc=aen@altlinux.ru \ --cc=devel@altlinux.ru \ /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