Re: Fgets is not working on linux/gcc3.2.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 10 Apr 2003 15:27:12 +0530, Ajay Bansal wrote:

> But the program is getting compiled!!!! & it is running also 

Argueing whether _one_ particular compiler is capable of compiling
the source does not make any sense when you would get this with
a different compiler:

$ c++ a.cpp -o a
a.cpp: In function int main ()':
a.cpp:12: FILE' undeclared (first use this function)
a.cpp:12: (Each undeclared identifier is reported only once for each 
function it appears in.)
a.cpp:12: pFile' undeclared (first use this function)
a.cpp:12: fopen' undeclared (first use this function)
a.cpp:14: feof' undeclared (first use this function)
a.cpp:17: fgets' undeclared (first use this function)
a.cpp:21: strerror' undeclared (first use this function)

Btw, with GCC3 it still compiles when you take out _all_ the
remaining C header files. ;)

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+lVGz0iMVcrivHFQRAmusAKCD2jgO/dLqlZvkragXOJi7fAhhXACeN3Yz
HRPAzhiibpXhyyeqQddK/a0=
=7YTB
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux