Bug 1782

Summary: tr1/functional not present in Xcode 5.0.1
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: lteAssignee: Nicola Baldo <nicola>
Status: RESOLVED FIXED    
Severity: blocker CC: mmiozzo, ns-bugs, tomh
Priority: P5    
Version: ns-3-dev   
Hardware: Mac Intel   
OS: Mac OS   

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.