Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000452inotify-cxxpublic2010-05-21 00:572010-03-23 23:34
Reportergvegidy 
Assigned Toluk 
PrioritynormalSeverityfeatureReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Summary0000452: use namespace
Descriptionif inotify-cxx is used together with other code or libraries, the other code may happen to use a variable, classname, typedef,... with the same name as inotify-cxx. This results in a name clash and lots of trouble.

The solution is to embed each lib in it's own namespace.

I have attached a patch which implements this.

If you don't expect any name clashes, you can write

using namespace inotify;

at the top of your program and everything works as before.
TagsNo tags attached.
Attached Filespatch file icon inotify-cxx-0.7.3-namespace.patch [^] (1,101 bytes) 2010-03-12 20:31 [Show Content]

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2010-03-12 20:31 gvegidy New Issue
2010-03-12 20:31 gvegidy File Added: inotify-cxx-0.7.3-namespace.patch
2010-03-23 23:34 luk Status new => assigned
2010-03-23 23:34 luk Assigned To => luk


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker