Skip to content

GitLab

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

Closed
Open
Opened Apr 14, 2018 by adelmann@adelmann🎗
  • Report abuse
  • New issue
Report abuse New issue

Warnings and notes for OPAL V 2.x.x

This is a summary of warnings to be addressed with very low priority:

nsga2, C build:

Scanning dependencies of target wfgHypervolume cc1: warning: command line option '-ftemplate-depth=1024' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-ftemplate-depth=1024' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-ftemplate-depth=1024' is valid for C++/ObjC++ but not for C

/gpfs/home/adelmann/opal/opal-1.9/optimizer/extlib/nsga2/nsga2_functions.c: In function 'initialize': /gpfs/home/adelmann/opal/opal-1.9/optimizer/extlib/nsga2/nsga2_functions.c:67:9: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result; ^~~~~~

In file included from /gpfs/home/adelmann/opal/opal-1.9/src/Classic/FixedAlgebra/FTpsData.h:25:0, from /gpfs/home/adelmann/opal/opal-1.9/src/Classic/FixedAlgebra/FTps.h:23, from /gpfs/home/adelmann/opal/opal-1.9/src/Classic/Algorithms/Mapper.h:25, from /gpfs/home/adelmann/opal/opal-1.9/src/Algorithms/LieMapper.h:21, from /gpfs/home/adelmann/opal/opal-1.9/src/Algorithms/LieMapper.cpp:21: /gpfs/home/adelmann/opal/opal-1.9/src/Classic/FixedAlgebra/FArray1D.h: In static member function 'static int DragtFinnMap<N>::orderModes(FMatrix<double, (2 * N), (2 * N)>&, FVector<std::complex<double>, (2 * N)>&) [with int N = 3]': /gpfs/home/adelmann/opal/opal-1.9/src/Classic/FixedAlgebra/FArray1D.h:163:16: warning: array subscript is above array bounds [-Warray-bounds] return data[i]; ~~~~^ /gpfs/home/adelmann/opal/opal-1.9/src/Classic/FixedAlgebra/FArray1D.h:163:16: warning: array subscript is above array bounds [-Warray-bounds]

In file included from /gpfs/home/adelmann/opal/opal-1.9/optimizer/Util/HashNameGenerator.h:5:0, from /gpfs/home/adelmann/opal/opal-1.9/src/Optimize/OpalSimulation.cpp:18: /opt/psi/Compiler/boost/1.66.0/gcc/7.3.0/include/boost/uuid/sha1.hpp:13:97: note: #pragma message: This header is implementation detail and provided for backwards compatibility. #pragma message("This header is implementation detail and provided for backwards compatibility.")

Edited Apr 14, 2018 by adelmann
To upload designs, you'll need to enable LFS. More information

Linked issues

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
1
Labels
Enhancement
Assign labels
  • View project labels
Reference: OPAL/src#222