C/C++ non-ANSI headers

Stelios Bounanos sb at dial.pipex.com
Sun Mar 11 01:23:01 EET 2001


In message <01031022003801.20817 at linux>,
    Alex <apapadop at brad.ac.uk> wrote:

> Ayth th dyskolh wra...
> 
> Xrhsimopoiw ton gcc 2.95.2 kai exw ena programmataki se source pou xreiazetai 
> to <conio.h>, ayto ap'oti 8ymamai na syzhtietai sth lista den exei kammia 
> sxesh me ANSI C/C++ opote anamenomeno pou den yparxei sta includes mou.
> 
> Ekana thn ekshs tarzania, pou den kserw an apotelei egklhma h standard 
> practice: Zhthsa apo enan filo mou pou exei ton Borland compiler se DOS kai 
> mou esteile to conio.h
> 
> To ebala sto /usr/include/g++/
> 

Gia thn akribeia eprakses /2/ sobara egklhmata:
Prwton, phres header file apo kseno systhma/arch, kai deyteron to ebales
se system-wide directory :)

> Kanw compile (g++ complex.cpp -o complex) alla elaba to ekshs san apanthsh:
> 
> In file included from complex.cpp:3:
> /usr/include/g++/conio.h:20: _stddef.h: No such file or directory
> 
> kati mou leei oti den einai *apla* akoma ena header file pou leipei. Mhpws 
> prepei na to topo8ethsw se allo dir to conio.h?
> 

Ksexna to conio.h ths Borland, profanws einai gemato me Borland- kai DOS-
specific kwdika.

> Tis idees sas :)
> 

Prin apo merikoys mhnes(?) eixe dwsei kapoios ena link se ena conio.h poy
ekane paromoia pragmata me ayto ths Borland, xrhsimopoiwntas curses
(th biblio8hkh ennow). Logika prepei na yparxei sta archives ths listas.
An den to breis ekei, steile ena proswpiko mail kai pisteyw 8a to kse8apsw
apo kapoy!

> TIA
> 
> Alexandros
> 

HTH.

Rgds,
/-sb.

-- 

Stelios Bounanos <sb at dial.pipex.com>
  ..............7500000 years later:
  The Ultimate Answer is 42.
  (next mail will give the Question)



More information about the Linux-greek-users mailing list