Sandesh uuid_t define conflicts with kernel's variant

Bug #1794242 reported by Frik Botha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
In Progress
Medium
Frik Botha
Trunk
In Progress
Medium
Frik Botha
OpenContrail
New
Undecided
Unassigned

Bug Description

The uuid_t defined in library/c/sandesh.h confilcts with the uuid_t defined in recent kernels. As a consequence, sandesh.h cannot be included alongside include/linux/uuid.h. Builds that do error as below:

contrail/tools/sandesh/library/c/sandesh.h:76:23: error: conflicting types for ‘uuid_t’
 typedef unsigned char uuid_t[16];
...
...
include/linux/uuid.h:27:3: note: previous declaration of ‘uuid_t’ was here
 } uuid_t;

Tags: analytics
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/46466
Submitter: Frik Botha (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/46467
Submitter: Frik Botha (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/46466
Submitter: Frik Botha (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/46467
Submitter: Frik Botha (<email address hidden>)

Jeba Paulaiyan (jebap)
tags: added: analytics
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.