Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D darshan
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 72
    • Issues 72
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • darshan
  • darshan
  • Issues
  • #66

Closed
Open
Created Sep 24, 2015 by Shane Snyder@ssnyderOwner

darshan-logutils.h depends on headers generated by autoconf

Description of the problem from Matthieu Dorier:

darshan-ruby does an #include <darshan-logutil.h>, which itself does a #include <darshan-log-format.h> which itself contains

#ifndef DARSHAN_CONFIG_H
    #error Must define DARSHAN_CONFIG_H
#endif

#include DARSHAN_CONFIG_H

so within my C file I also have to add the following line before including darshan-logutil.h:
#define DARSHAN_CONFIG_H "darshan-util-config.h"

The logutil.h header is relying on autoconf for HAVE_INTTYPES_H and PRI macros. The PRI logic can be moved to another header (it isn't directly used in logutil.h), and we can then switch to the more portable stdint header for fixed-size integer definitions.

Assignee
Assign to
Time tracking