Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix expression that cannot be used as a function #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emollier
Copy link

@emollier emollier commented Sep 6, 2024

As reported in Debian bug #1075273, starting with g++ 14, the build fails with the following error (that was missing from the semi automated report):

/<<PKGBUILDDIR>>/src/FindBreakpoints.hpp:786:38: error: expression cannot be used as a function
  786 |     return this->m_solid_stretch_size();
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~^~

Looking at other instances of the m_solid_stretch_size attribute, the use of the expression as a function seems to be erroneous and the intent seems to have been to return the plain integer number instead.

As reported in [Debian bug #1075273], starting with g++ 14, the build
fails with the following error (that was missing from the semi
automated report):

	/<<PKGBUILDDIR>>/src/FindBreakpoints.hpp:786:38: error: expression cannot be used as a function
	  786 |     return this->m_solid_stretch_size();
	      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~^~

Looking at other instances of the m_solid_stretch_size attribute, the
use of the expression as a function seems to be erroneous and the
intent seems to have been to return the plain integer number instead.

[Debian bug #1075273]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075273

Signed-off-by: Étienne Mollier <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant