Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
ParaView
ParaView
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,668
    • Issues 1,668
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 62
    • Merge Requests 62
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ParaView
  • ParaViewParaView
  • Issues
  • #18749

Closed
Open
Created Feb 01, 2019 by Mathieu Westphal@mwestphalDeveloper

[Module] Warning when configuring a plugin with an XML in paraview_add_plugin macro

The folowing CMakeLists.txt

paraview_add_plugin(BagPlotViewsAndFilters
  REQUIRED_ON_SERVER
  VERSION "1.0"
  SERVER_MANAGER_XML BagPlotViewsAndFilters.xml
  MODULES BagPlotViewsAndFilters::BagPlotViewsAndFiltersBagPlot)

Shows the following warning :

[118/389] Building CXX object Plugins/BagPlotViewsAndFilters/CMakeFiles/BagPlotViewsAndFilters.dir/BagPlotViewsAndFiltersPlugin.cxx.o
In file included from Plugins/BagPlotViewsAndFilters/BagPlotViewsAndFiltersPlugin.cxx:47:
Plugins/BagPlotViewsAndFilters/CMakeFiles/BagPlotViewsAndFilters_server_manager_modules/BagPlotViewsAndFilters_server_manager_modules.h: In function ‘void BagPlotViewsAndFilters_server_manager_modules_initialize(std::vector<std::__cxx11::basic_string<char> >&)’:
Plugins/BagPlotViewsAndFilters/CMakeFiles/BagPlotViewsAndFilters_server_manager_modules/BagPlotViewsAndFilters_server_manager_modules.h:8:89: warning: unused parameter ‘xmls’ [-Wunused-parameter]
 void BagPlotViewsAndFilters_server_manager_modules_initialize(std::vector<std::string>& xmls)

It is to be noted that BagPlotViewsAndFilters::BagPlotViewsAndFiltersBagPlot does not contain an xml file through paraview_add_server_manager_xmls

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None