Skip to content

Commit

Permalink
Merge pull request robotology#2150 from PeterBowman/missing-depr-header
Browse files Browse the repository at this point in the history
Add missing header for deprecation warning macro
  • Loading branch information
Nicogene authored Dec 11, 2019
2 parents 6d06b29 + 4799032 commit 3bd859a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/release/yarp_3_3/missing-depr-header.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
missing-depr-header {#yarp_3_3}
-----------

### Libraries

#### YARP_dev

* Fixed missing header for deprecation warning macro.
2 changes: 2 additions & 0 deletions src/libYARP_dev/src/yarp/dev/GenericSensorInterfaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#ifndef YARP_DEV_GENERICSENSORINTERFACES_H
#define YARP_DEV_GENERICSENSORINTERFACES_H

#include <yarp/conf/system.h>

YARP_COMPILER_WARNING("<yarp/dev/GenericSensorInterfaces.h> file is deprecated. Use <yarp/dev/IGenericSensor.h> instead")
#include <yarp/dev/IGenericSensor.h>

Expand Down
2 changes: 2 additions & 0 deletions src/libYARP_dev/src/yarp/dev/PreciselyTimed.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#ifndef YARP_DEV_PRECISELYTIMED_H
#define YARP_DEV_PRECISELYTIMED_H

#include <yarp/conf/system.h>

YARP_COMPILER_WARNING("<yarp/dev/PreciselyTimed.h> file is deprecated. Use <yarp/dev/IPreciselyTimed.h> instead")
#include <yarp/dev/IPreciselyTimed.h>

Expand Down
2 changes: 2 additions & 0 deletions src/libYARP_dev/src/yarp/dev/SerialInterfaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#ifndef YARP_DEV_SERIALINTERFACES_H
#define YARP_DEV_SERIALINTERFACES_H

#include <yarp/conf/system.h>

YARP_COMPILER_WARNING("<yarp/dev/SerialInterfaces.h> file is deprecated. Use <yarp/dev/ISerialDevice.h> instead")
#include <yarp/dev/ISerialDevice.h>

Expand Down

0 comments on commit 3bd859a

Please sign in to comment.