Ticket #72 (new defect)

Opened 3 months ago

lasdiff.c uses C++ bool type

Reported by: mloskot Owned by: hobu
Priority: critical Milestone:
Component: Utilities Version: svn-trunk
Keywords: bool Cc:
LAS Format Version: Not Applicable

Description

The program lasdiff.c is supposed to be compiled as C program, but it uses C++ features and C99 features what makes it not portable.

In line 148, bool type is used:

bool fatal_difference = false;

Replacement with int suggested.

Note: See TracTickets for help on using tickets.