Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

Fix template-related issue with NewDefaultValuable() method

This PR addresses the template-related issue in PR #891 where NewDefaultValuable() is called in Constant.h before it's declared in ValuableDescendantContract.h.

Changes

  • Added a forward declaration of NewDefaultValuable() in ValuableDescendantContract.h
  • Added comments to explain the purpose of the method

Issue

The original error was:

there are no arguments to 'NewDefaultValuable' that depend on a template parameter, so a declaration of 'NewDefaultValuable' must be available [-fpermissive]

This was causing build failures on both Ubuntu and Windows CI environments.

Link to Devin run: https://app.devin.ai/sessions/008b72343e894ad39f52e03252e8311c
Requested by: ohhmm

devin-ai-integration bot and others added 5 commits March 10, 2025 11:21
Co-Authored-By: Serg Kryvonos <sergeikrivonos@gmail.com>
- Add Windows runtime dependency checking with dumpbin.exe
- Add platform-specific matrix configuration with proper suffixes
- Remove redundant CMake configure command
- Improve artifact packaging with better error handling
- Add standardized install rules for all targets

Co-Authored-By: Serg Kryvonos <sergeikrivonos@gmail.com>
Co-Authored-By: Serg Kryvonos <sergeikrivonos@gmail.com>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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