Menu

#241 Missing header includes

v1.0_(example)
closed
player (137)
5
2008-08-30
2008-07-21
mjoya
No

This bug is for player 2.1.1.

When building under fedora, there are functions referenced in the source that are not included with preprocessor commands. As such, the compiler doesn't recognize them and the build process aborts.

The files/modules are:

In server/drivers/laser/lms400_cola.cc:
#include <unistd.h>

In server/drivers/mixed/mricp/src/map.cpp:
#include <stdlib.h>

In server/drivers/mixed/mricp/src/geometry2D.cpp:
#include <stdio.h>

I did not make a patch since these are relatively easy to fix.

Discussion

  • Toby Collett

    Toby Collett - 2008-08-30
    • status: open --> closed
     
  • Toby Collett

    Toby Collett - 2008-08-30

    Logged In: YES
    user_id=974361
    Originator: NO

    It looks like these headers have already been added

     

Log in to post a comment.