#1 link failure with Sun's CC

closed-fixed
None
5
2010-05-03
2009-05-28
John Ellson
No

Sun's compiler is more picky about matching "const"s than g++. I needed the attached patch to avoid link errors.

Discussion

  • John Ellson

    John Ellson - 2009-05-28

    patch to make "const"s match API

     
  • Alan W. Irwin

    Alan W. Irwin - 2010-04-25

    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.

     
  • Alan W. Irwin

    Alan W. Irwin - 2010-04-25
    • assigned_to: nobody --> airwin
    • status: open --> pending-accepted
     
  • Alan W. Irwin

    Alan W. Irwin - 2010-05-03

    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.

     
  • Alan W. Irwin

    Alan W. Irwin - 2010-05-03
    • status: pending-accepted --> closed-fixed
     

Log in to post a comment.