[Issue 676] New - Compilation on HP-UX broken, isset() name space conflict

Alexander Mueller <[email protected]> Mon, 31 Aug 2009 01:56:49 -0700 (PDT)
Newsgroups gmane.comp.version-control.subversion.rapidsvn.issues
Message-ID <[email protected]>
http://rapidsvn.tigris.org/issues/show_bug.cgi?id=676
                 Issue #|676
                 Summary|Compilation on HP-UX broken, isset() name space confli
                        |ct
               Component|rapidsvn
                 Version|0.10
                Platform|HP
              OS/Version|HP-UX
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|src
             Assigned to|issues@rapidsvn
             Reported by|xelarellum






------- Additional comments from [email protected] Mon Aug 31 01:56:48 -0700 2009 -------
Reported by Rajesh K Chaurasia:
I tried to compile RapidSVN on HP-UX and encountered compilation errors due to
isset() definition in client sources and HP-UX header file 

/usr/include/sys/params.h

#define isset(a,i)      ((a)[(i)/NBBY] & (1<<((i)%NBBY)))

In RapidSVN sources .../src/svncpp/path.cpp and .../src/svncpp/status.cpp
isset() is defined differently. I was able to get successful compilation and
working build by changing isset() to is_set() or IsSet() in RapidSVN sources.

May I request you to implement this change in RapidSVN sources for 0.12 release
so that the client code can be compiled on HP-UX smoothly? I agree that there
may not be many users for RapidSVN on HP-UX, nonetheless the package should
compile fine.

Thanks and Regards
-Rajesh

------------------------------------------------------
http://rapidsvn.tigris.org/ds/viewMessage.do?dsForumId=670&dsMessageId=2388798

To unsubscribe from this discussion, e-mail: [[email protected]].