Sun's compiler is more picky about matching "const"s than g++. I needed the attached patch to avoid link errors.
patch to make "const"s match API
I thought libLASi was completely mature. :-) So I haven't been checking here very often for bug fixes which explains my slow response. Anyhow, thanks for your bug report.
Could you please try revision 147? There I have used the const attrib in the setFONT definition since none of the arguments are changed within setFONT.
I have decided to resolve this issue by using your patch since that leaves Lasi.h unchanged and therefore removes all chance of an API change. This bug resolution should be included in the forthcoming release of Lasi-1.1.1.
Log in to post a comment.