Ticket #92 (closed defect: fixed)
C++ - style comments cause compile errors
| Reported by: | tharan | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | major | Milestone: | 4.8.0 |
| Component: | Core | Version: | Development (trunk) |
| Keywords: | Cc: |
Description (last modified by warmerdam) (diff)
Checked out proj4 development version 1962 on 2011/02/04. Running make using cc --version
cc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
on uname -a
Linux snow 2.6.27.54-0.2-default #1 SMP 2010-10-19 18:40:07 +0200 x86_64 x86_64 x86_64 GNU/Linux
I get errors such as:
pj_init.c: In function ‘pj_init_ctx’: pj_init.c:326: error: expected expression before ‘/’ token make[2]: *** [pj_init.lo] Error 1
These are apparently due to C++ - style comments that start with // as opposed to C-style comments consisting of /* */ pairs.
I have detected and fixed this problem in files jiniproj.c, pj_init.c, and pj_malloc.c which I will attach to this ticket once I figure out how to do that.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

