Bug 35537 - no return statement in function returning non-void
Summary: no return statement in function returning non-void
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: eigen3 (show other bugs)
Version: unstable
Hardware: all Linux
: P3 major
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-22 11:02 MSK by Sergey V Turchin
Modified: 2018-10-23 10:21 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey V Turchin 2018-10-22 11:02:32 MSK
У меня обламывается сборка другого пакета:
/usr/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h:176:63: error: no return statement in function returning non-void [-Werror=return-type]
   Index set_restart(const Index restart) { m_restart=restart; }
Comment 1 Sergey V Turchin 2018-10-22 11:04:20 MSK
Т.е. там надо или
Index set_restart(const Index restart) { return m_restart=restart; }
или
void set_restart(const Index restart) { m_restart=restart; }
Comment 2 Repository Robot 2018-10-22 22:14:08 MSK
eigen3-3.3.5-alt2 -> sisyphus:

Mon Oct 22 2018 Andrey Cherepanov <cas@altlinux> 3.3.5-alt2
- Fix prototype (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908336) (ALT #35537).