Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
R
riscv-gcc-1
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • lvzhengyang
  • riscv-gcc-1
  • Repository

Switch branch/tag
  • riscv-gcc-1
  • libstdc++-v3
  • testsuite
  • 27_io
  • filesystem
  • operations
  • copy.cc
Find file
BlameHistoryPermalink
  • Jonathan Wakely's avatar
    libstdc++: Fix some warnings in filesystem tests · 9412b35a
    There's a -Wunused-but-set-variable warning in operations/all.cc which
    can be fixed with [[maybe_unused]].
    
    The statements in operations/copy.cc give -Wunused-value warnings. I
    think I meant to use |= rather than !=.
    
    And operations/file_size.cc gets -Wsign-compare warnings.
    
    	* testsuite/27_io/filesystem/operations/all.cc: Mark unused variable.
    	* testsuite/27_io/filesystem/operations/copy.cc: Fix typo.
    	* testsuite/experimental/filesystem/operations/copy.cc: Likewise.
    	* testsuite/27_io/filesystem/operations/file_size.cc: Use correct type
    	for return value, and in comparison.
    	* testsuite/experimental/filesystem/operations/file_size.cc: Likewise.
    Jonathan Wakely committed Mar 05, 2020
    9412b35a
copy.cc 5 KB
Edit