pcp
[Top] [All Lists]

[Bug 872] New: Compilation fails

To: pcp@xxxxxxxxxxx
Subject: [Bug 872] New: Compilation fails
From: bugzilla-daemon@xxxxxxxxxxx
Date: Fri, 12 Mar 2010 03:09:32 -0600
Auto-submitted: auto-generated
http://oss.sgi.com/bugzilla/show_bug.cgi?id=872

           Summary: Compilation fails
           Product: pcp
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: pcp-gui
        AssignedTo: nathans@xxxxxxxxxx
        ReportedBy: freelance@xxxxxxxxxx
                CC: pcp@xxxxxxxxxxx
   Estimated Hours: 0.0
    Classification: Unclassified


In src/include/version.h line 33:

---
#define HAVE_PM_PATH_SEPARATOR 0
#if HAVE_PM_PATH_SEPARATOR == 0
static inline void __pmPathSeparator(void) { return '/'; }
#endif
---

The returned type is not correct, the compilation fails at this point.

It happens with the tarball available on the official website and the sources
cloned from the git repository.

I propose the following instead:

---
#define HAVE_PM_PATH_SEPARATOR 0
#if HAVE_PM_PATH_SEPARATOR == 0
static inline char __pmPathSeparator(void) { return '/'; }
#endif
---

Best regards

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

<Prev in Thread] Current Thread [Next in Thread>