bugThe libunwind project - Bugs: bug #52480, Add include guard on...

 
 

bug #52480: Add include guard on libunwind-common.h

Submitted by:  None
Submitted on:  Wed 22 Nov 2017 05:14:15 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 22 Nov 2017 05:14:15 PM UTC, original submission:

Hello,

While using libunwind, I manually included libunwind-common.h and ended up having a "redeclaration of UNW_ESUCCESS" error, ana many others.

Looking at the file, I found out that there are no include guards there.

In order to avoid these kind of issues, could you please add an include guard to that header file?

Attached is a patch that should do the trick.

Regards,
Will

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #42458:  include_guard.patch added by None (727B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Wed 22 Nov 2017 05:14:15 PM UTCNoneAttached File-=>Added include_guard.patch, #42458

Back to the top


Powered by Savane 3.1-cleanup1