From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,7bfa09f05667b86c,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-10-19 08:57:04 PST Newsgroups: comp.unix.osf.osf1 Path: bga.com!news.sprintlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!hplabs!hplextra!hplb!hpcpb!davidm From: davidm@bri.hp.com (David McDougall) Subject: C++ compile problem on osf/1 Sender: news@bri.hp.com (News User) Message-ID: Date: Wed, 19 Oct 1994 14:50:52 GMT Nntp-Posting-Host: jocko.bri.hp.com Organization: Hewlett-Packard X-Newsreader: TIN [version 1.2 PL0.9] Hi Folks, I have a program that happily compiles using the standard c compiler on a DEC 3000/300 running OSF/1 v1.3. It uses a few ioctl calls to do various things. I have ported the code to C++ and I am getting a ridiculous error which states the following: "dec_interface.C:44: error: In this statement, "ioctl" is not declared." Now line 44 is identical in syntax to the c version and I have included the #include line in my c++ header file. Does anyone know whats wrong or had a similar problem. Things are getting silly as there is nothing obviously wrong. Famous last words. Are there any defines I should be setting for the compiler command. All/Any help is much appreciated. I can supply more info if it looks like that will help. Cheers Dave.