Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
S src
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 62
    • Issues 62
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OPAL
  • src
  • Issues
  • #435

Closed
Open
Created Jan 10, 2020 by snuverink_j@snuverink_jDeveloper

Compiler warnings from unit tests

The new unit tests are triggering quite a few compiler warnings. It is not clear to me why these aren't shown with the regular OPAL compilation. Perhaps different warning flags or some of the templated code is not used / compiled.

All are relatively easy to fix, and by far the most of those are sign comparisons, e.g.:

/OPAL-src/tests/ippl_src/Field/FieldDebug.cpp:42:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int d=0; d<Dim3; d++) serialParallelSpec[d] = PARALLEL;
                   ~^~~~~
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking