Bug 1782 - tr1/functional not present in Xcode 5.0.1
tr1/functional not present in Xcode 5.0.1
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: lte
ns-3-dev
Mac Intel Mac OS
: P5 blocker
Assigned To: Nicola Baldo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-25 04:40 UTC by Tommaso Pecorella
Modified: 2013-11-05 09:17 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tommaso Pecorella 2013-10-25 04:40:21 UTC
Newest MacOS compiler complains about tr1/functional. 

../src/lte/model/lte-mi-error-model.cc:34:10: fatal error: 'tr1/functional' file not found
#include <tr1/functional>

Removing the include seems to have no side-effects (beside fixing the issue, of course).
I don't know if this header is necessary on Linux or other platforms.
Comment 1 Nicola Baldo 2013-10-25 10:03:16 UTC
Marco, is it ok to remove "#include <tr1/functional>" from lte-mi-error-model.cc?
Comment 2 Tom Henderson 2013-11-05 09:10:15 UTC
(In reply to comment #1)
> Marco, is it ok to remove "#include <tr1/functional>" from
> lte-mi-error-model.cc?

I can't find any usage of this (Boost) library in the code, so I'll go ahead and remove this to fix the build.

changeset 1fa0b4341dd2
Comment 3 Marco Miozzo 2013-11-05 09:17:22 UTC
Sorry, for the late reply.
Yes, the code does not use any more this external library.