Menu

#7 Cleanup for compiler errors

None
closed-fixed
nobody
None
5
2016-05-05
2016-05-05
No

The attached patch cleans up lots of compiler errors

1 Attachments

Discussion

  • lord

    lord - 2016-05-05

    I applied part of this patch which relates to removing unused variables in cfg.c. It was not causing any problem, but it is cleaner to remove them.

    The remaining bulk of this patch just renames 'log' functions with to 'sp_log' everywhere. I do not see why it is necessary. The code compiles without problem with old names. I just checked under Linux and MacOS.

     
  • Andrew Pollock

    Andrew Pollock - 2016-05-05

    Are you compiling with gcc -Wall
    ?

     
  • lord

    lord - 2016-05-05
    • status: open --> closed-fixed
    • Group: -->
     
  • lord

    lord - 2016-05-05

    on the other hand I think it is safer to rename 'log' to 'sp_log' to avoid potential confilict with math function. I will rename.

     

Log in to post a comment.