Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!tut.cis.ohio-state.edu!purdue!riedl From: riedl@cs.purdue.EDU (John T Riedl) Newsgroups: gnu.g++ Subject: using C header files with C++ Message-ID: Date: 5 Oct 89 21:14:59 GMT Sender: riedl@cs.purdue.EDU Distribution: gnu Organization: Department of Computer Science, Purdue University Lines: 10 I have a library of C routines that I want to use from C++. Of course, the function declarations in the header file are in C form without any argument specifications (e.g., int f();). Is there a trick to get G++ to accept these declarations? If not, is there a solution that doesn't require me to make a separate header file for G++ (with the '...' argument notation)? How do other people solve this problem? Thanks, John