go to www.geomview.org home page
 
Home

Overview
FAQ
Documentation

Download

Mailing List

Geomview For Windows?

Support
Users
Development

Bug Reporting
Contributing
Contact Us

Sponsors

 

Site Search

 

Advanced
Search

 
About the software@geom archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problems with compilation



I try to compile geomview on a sgi IRIX Release 4.0.1 System V
with the standard cc compiler. I get this error message.
What to do? .
------------------------------------------------------------------------
../../../../../include/mg.h:168: warning: text following #endif violates ANSI standard
../../../../../include/mg.h:168: warning: text following #endif violates ANSI standard
accom: Error: drawer.c, line 308: syntax error
         for ( index = ( index==-1 ) ? 0 : ((id=drawer_objok(id, 2 )) >> 2)  ;((id != 	((0)<<2 | 0 ) ) && ( index < ( ((((id) >> 2)  == -1 ) ? (( 2 == 1 ) ? dgeom_max : dview_max) : ((id) >> 2) +1)))) ; ++ index) if ( ( (DObject*) dv = ( 2  ==  1 ) ? ((DObject*)dgeom[ index]) : ((DObject*)dview[ index]) )  != 0 )   {
       ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^
accom: Error: drawer.c, line 831: newline in string or char constant(ANSI 3.1.4)
       	  (_GFILE= "drawer.c", _GLINE=831,0)?0:_OOGLError (0, "head of the universe changed --- this shouldn't\nhappen; please send email to software@geom.umn.edu notifying us of this\nproblem!");
       ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^
accom: Warning 107: drawer.c, line 832: More characters in character constant than fit in int(ANSI 3.1.3.4)
       	  (_GFILE= "drawer.c", _GLINE=831,0)?0:_OOGLError (0, "head of the universe changed --- this shouldn't\nhappen; please send email to software@geom.umn.edu notifying us of this\nproblem!");
       ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^
accom: Warning  51: drawer.c, line 988: illegal character: 134 (octal)
       	 "Picked nothing.\n" : "Picked dgeom #%d\n", ((chosen) >> 2) );
       ------------------^
accom: Warning  51: drawer.c, line 988: illegal character: 043 (octal)
       	 "Picked nothing.\n" : "Picked dgeom #%d\n", ((chosen) >> 2) );
       --------------------------------------^
accom: Warning  51: drawer.c, line 988: illegal character: 134 (octal)
       	 "Picked nothing.\n" : "Picked dgeom #%d\n", ((chosen) >> 2) );
       -----------------------------------------^
accom: Warning  51: drawer.c, line 1129: illegal character: 134 (octal)
           (_GFILE= "drawer.c", _GLINE=1129,0)?0:_OOGLError (0,"warning: attempt to use existing first name: \"%s\"\n  using \"%s\" instead", name, obj->name[ni]);
       ------------------------------------------------------------------------------------------------------^
accom: Warning  51: drawer.c, line 1129: illegal character: 134 (octal)
           (_GFILE= "drawer.c", _GLINE=1129,0)?0:_OOGLError (0,"warning: attempt to use existing first name: \"%s\"\n  using \"%s\" instead", name, obj->name[ni]);
       ----------------------------------------------------------------------------------------------------------^
accom: Warning  51: drawer.c, line 1129: illegal character: 134 (octal)
           (_GFILE= "drawer.c", _GLINE=1129,0)?0:_OOGLError (0,"warning: attempt to use existing first name: \"%s\"\n  using \"%s\" instead", name, obj->name[ni]);
       ------------------------------------------------------------------------------------------------------------^
accom: Warning  51: drawer.c, line 1129: illegal character: 134 (octal)
           (_GFILE= "drawer.c", _GLINE=1129,0)?0:_OOGLError (0,"warning: attempt to use existing first name: \"%s\"\n  using \"%s\" instead", name, obj->name[ni]);
       ----------------------------------------------------------------------------------------------------------------------^
accom: Warning  51: drawer.c, line 1129: illegal character: 134 (octal)
           (_GFILE= "drawer.c", _GLINE=1129,0)?0:_OOGLError (0,"warning: attempt to use existing first name: \"%s\"\n  using \"%s\" instead", name, obj->name[ni]);
       --------------------------------------------------------------------------------------------------------------------------^
accom: Error: drawer.c, line 1145: newline in string or char constant(ANSI 3.1.4)
           (_GFILE= "drawer.c", _GLINE=1145,0)?0:_OOGLError (1,"view array can't grow yet! --- fix this!");
       ----------------------------------------------------------------------------------------------------^
accom: Warning 107: drawer.c, line 1146: More characters in character constant than fit in int(ANSI 3.1.3.4)
           (_GFILE= "drawer.c", _GLINE=1145,0)?0:_OOGLError (1,"view array can't grow yet! --- fix this!");
       ----------------------------------------------------------------------------------------------------^
accom: Error: drawer.c, line 1149: newline in string or char constant(ANSI 3.1.4)
         dv = dview[i] = (DView *)OOG_NewE(sizeof(DView),  "can't allocate space for new view") ;
       ------------------------------------------------------------------------------------------^
accom: Warning 107: drawer.c, line 1150: More characters in character constant than fit in int(ANSI 3.1.3.4)
         dv = dview[i] = (DView *)OOG_NewE(sizeof(DView),  "can't allocate space for new view") ;
       ------------------------------------------------------------------------------------------^
accom: Error: drawer.c, line 1489: static function declared and referenced, but not defined: _name_object

       END OF FILE
accom: Error: drawer.c, line 1489: static function declared and referenced, but not defined: view_pick

       END OF FILE

Stop.

Stop.
-----------------------------------------------------------------------

There were some other less severe problems which I have resolved by
changing some prototypes  from constant char* in char*
unsigned char in char.

    Bert Lisser
    (system manager)


 
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
 
site hosted by
SourceForge Logo