home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!caen!kuhub.cc.ukans.edu!jeff
- From: jeff@kuhub.cc.ukans.edu (Jeff Bangert)
- Newsgroups: comp.lang.c++
- Subject: BC++ 3.1, outportb -> Bad call
- Message-ID: <1993Jan1.081040.46014@kuhub.cc.ukans.edu>
- Date: 1 Jan 93 08:10:40 CST
- Organization: University of Kansas Academic Computing Services
- Lines: 27
-
- Why does outportb produce the error message "Bad call to intrinsic
- function"?
-
- Here's what I know so far: I'm running Borland C++ 3.1 using
- precompiled headers. I've got a call to outportb which compiles
- correctly almost all the time. The call is in a .CPP file which
- defines a device driver class.
-
- Sometimes, when I try to compile the main program, I get an error from
- the device driver -- outportb is a Bad call to intrinsic function.
-
- I can fix this by deleting all the .SYM files, and then compiling the
- device driver. However, I would really like to know why I get the
- error message.
-
- Note: the line which contains the outportb compiles most of the time,
- so there is nothing wrong with it. Yes, I did include dos.h. No, I
- do not want to turn off precompiled headers.
-
- Thanks for the help,
-
- --
- Jeff Bangert jeff@kuhub.cc.ukans.edu
- Computer Center jeff@ukanvax.bitnet
- University of Kansas
- Lawrence, KS 66045
- (913)864-0466
-