Menu

#14 Compiler errror

v1.0 (example)
closed
nobody
None
5
2015-12-08
2011-10-18
No

The current version (0.85) doesn't compile on my Arch Linux box (gcc (GCC) 4.6.1 20110819 (prerelease)):

tree.h:118:21: error: 'ptrdiff_t' does not name a type

Including cstddef in tree.h fixes this problem.

- Jonas

Discussion

  • Alex

    Alex - 2012-04-08

    Fix: Include cstddef in the header "tree.h"
    #include <cstddef>

     
  • Davi de Castro Reis

    • status: open --> closed
    • Group: --> v1.0 (example)
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.