Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-20601

make Lustre headers c++ compatible

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None
    • 3
    • 9223372036854775807

      C++ compilers did not like some of the C idioms used in the Lustre headers:

      • C++ checks the types of enums more forecfully than is done in C.
      • signed vs unsigned comparisons will generate a warning under g++
      • "invalid suffix on literal" warning: Lustre is not trying to generate a new literal identifier
      • implicit "void*" conversion to non-void pointer
      • integer narrowing conversion
      • const char* conversion
      • void pointers arithmetic

            eaujames Etienne Aujames
            eaujames Etienne Aujames
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: