[comp.lang.c++] BC++ syntax problem

UH2@psuvm.psu.edu (Lee Sailer) (04/20/91)

I have a mysterious syntax error in my first BC++ program.  here
it is, trimmed down to the bare essentials...

b.h:
   class B {
      ...
   };

p.h:
   #include "b.h"

   class P {
     public:
     int readPixMap( B & x );   // defined elsewhere
   };

In my full program, this generates two error messages.
One says, "Warning:  Style of function definition is now obsolete."  It
seems to point to the B in readPixMap();
The other says, "Error:  , expected."  It points to the &.

I've tried to isolate the problem by trimming down to bare essentials,
but without luck.

Any ideas?  Known bug?  Whatever.  Email help preferred.

                                                        thanks