Hmm, in trying to fix STR#2174 (SGI fails to compile 1.3.x),
most of the problem is to do with C++ style comments in old C file contexts;
SGI's native C compiler is strict about not groking C++ comment style by 
default.

Apparently doxygenification and utf8 brought this on. caused some of this.

A few items come to mind to solve this:

        1) Leave this comment style mix alone, and modify 'configure'
           to include the CC flag "-Xcpluscomm", which allows the C compiler
           to grok C++ comment syntax.

        2) Convert the few C++ style comments to C style.
           This won't be hard, as there aren't too many.
           I've already done this, and can check it in if need be.

#2 seems the way to go, but thought I'd toss #1 out there just to
see if that's preferred.

Also: some of the files that probably should be .h files are named .H
eg. FL/filename.H is #included by numericsort.c

So strictly speaking, anyone working on filename.H won't really have a clue
(by the filename extension) that this file needs to be C format compliant.

Should filename.H be changed to filename.h?
_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to