From: tmpjsk@eua.ericsson.se (Jonas Ek)
Subject: box.h trouble
Reply-To: tmpjsk@eua.ericsson.se
Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
Date: Thu, 15 Oct 1992 13:54:21 GMT

When trying to compile a small program for InterViews 2.6 I get the following
error messages:

>make
CC  -Dcplusplus_2_1 -Div2_6_compatible -I/usr/local/share/pgm/InterViews/include/InterViews/2.6 -I/usr/local/share/pgm/InterViews/include/IV-look/2.6 -I/usr/local/share/pgm/InterViews/include -I/usr/local/sun4/pgm/openwin/include -sun4 -c  simGUI.cc
/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h: 53: major: argument mismatch
/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h: 53: minor: argument mismatch
/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h: 57: major: argument mismatch
/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h: 58: minor: argument mismatch
/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h: 89: major: argument mismatch
/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h: 89: minor: argument mismatch
/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h: 115: major: argument mismatch
/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h: 115: minor: argument mismatch
"/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h", line 53: error: syntax error
"/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h", line 53: error: syntax error
"/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h", line 53: error: syntax error
"/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h", line 53: error: syntax error
"/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h", line 53: error: syntax error
"/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h", line 53: error: syntax error
"/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h", line 53: error: syntax error
"/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h", line 53: error: syntax error
"/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h", line 53: error: syntax error
"/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h", line 53: error: syntax error
"/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h", line 53: error: syntax error
"/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h", line 53: error: syntax error
"/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h", line 53: error: syntax error
"/usr/local/share/pgm/InterViews/include/InterViews/2.6/InterViews/box.h", line 53: error: syntax error
Sorry, too many errors
Compilation failed
*** Error code 14
make: Fatal error: Command failed for target `ATMsimGUI.o'



The compiler doesn't seem to like somethings in box.h (InterViews header file) even though the 
file looks OK to me. The program I am trying to compile starts like this:


#include <stdlib.h>
#include <string.h>
#include <stream.h>

#include <InterViews/bitmap.h>
#include <InterViews/border.h>
#include <InterViews/box.h>
#include <InterViews/button.h>
#include <InterViews/cursor.h>
#include <InterViews/dialog.h>
#include <InterViews/event.h>
#include <InterViews/frame.h>
#include <InterViews/font.h>
#include <InterViews/glue.h>
#include <InterViews/interactor.h>
#include <InterViews/message.h>
#include <InterViews/painter.h>
#include <InterViews/scene.h>
#include <InterViews/scroller.h>
#include <InterViews/sensor.h>
#include <InterViews/strbrowser.h>
#include <InterViews/streditor.h>
#include <InterViews/world.h>
#include "ATMsimGUI.hh"
#include <InterViews/2.6/_enter.h>


What am I doing wrong? Any information would be appreciated.

Jonas Ek
Jonas.Ek@eua.ericsson.se