[sisyphus] Re: c++ includes

Mikhail Zabaluev =?iso-8859-1?q?mhz_=CE=C1_altlinux=2Eorg?=
Вт Мар 25 13:49:51 MSK 2003


Hello Andrey,

On Tue, Mar 25, 2003 at 08:39:13AM +0200, Andrey Khavryuchenko wrote:
>
> Это нормально, что g++ не видит собственных инклюдов, пока носом туда не
> ткнуть?

Может быть, дело в -E (вызов препроцессора)?
В обычном режиме, над файлом, работает?

> $ echo "#include <cstring>" | /usr/bin/g++-3.2 -E -
> # 1 "<stdin>"
> # 1 "<built-in>"
> # 1 "<command line>"
> # 1 "<stdin>"
> <stdin>:1:19: cstring: No such file or directory
> 
> $ echo "#include <cstring>" | /usr/bin/g++-3.2 -I/usr/include/c++/3.2.1/ -E -xc++ - | head
> # 1 "<stdin>"
> # 1 "<built-in>"
> # 1 "<command line>"
> # 1 "<stdin>"
> # 1 "/usr/include/c++/3.2.1/cstring" 1
> # 48 "/usr/include/c++/3.2.1/cstring" 3
> 
> # 1 "/usr/include/c++/3.2.1/cstddef" 1 3
> # 47 "/usr/include/c++/3.2.1/cstddef" 3
> 
> 
> 
> -- 
> Andrey V Khavryuchenko            http://www.kds.com.ua/
> Silver Bullet Software Solutions  http://www.kds.com.ua/training/
> _______________________________________________
> Sisyphus mailing list
> Sisyphus на altlinux.ru
> http://altlinux.ru/mailman/listinfo/sisyphus

-- 
Stay tuned,
  MhZ                                     JID: mhz на altlinux.org
___________
Be it our wealth, our jobs, or even our homes; nothing is safe while the
legislature is in session.



Подробная информация о списке рассылки Sisyphus