gcc3

v13 at priest.com v13 at priest.com
Tue Sep 4 18:39:01 EEST 2001


 Exoyme:

-rw-r-----    1 root     root           40 Sep  4 18:25 a.c
-rw-r-----    1 root     root           40 Sep  4 18:25 a.cc
-rw-r-----    1 root     root           14 Sep  4 18:25 signal.h

hell:/tmp/1# cat a.c
#include <signal.h>

int main(void)
{
}

hell:/tmp/1# cat a.cc
#include <signal.h>

int main(void)
{
}

hell:/tmp/1# cat signal.h
#warning lala

Diladi to a.c kai to a.cc einai akribos ta idia..

hell:/tmp/1# gcc a.c
hell:/tmp/1# 

hell:/tmp/1# gcc a.cc
In file included from a.cc:1:
signal.h:1:2: warning: #warning lala
hell:/tmp/1# 

hell:/tmp/1# gcc --version
3.0

(me g++ h simperifora einai h idia)

AFAIK, den eprepe na kanei include to diko moy signal.h , alla ayto poy yparxe
sto /usr/include kai stis 2 periptoseis. Kserei kaneis tipota gia ayto ? An balo
-I/usr/include diorthonetai...


<<V13>>



More information about the Linux-greek-users mailing list