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 build failures without SIMD #1277

Closed

Conversation

felixonmars
Copy link

The new mention of SIMDRegister here should be guarded on JUCE_USE_SIMD too, to fix the following build failures present on riscv64 and other platforms:

In file included from /build/juce/src/JUCE-7.0.7/modules/juce_dsp/juce_dsp.cpp:103:
/build/juce/src/JUCE-7.0.7/modules/juce_dsp/containers/juce_AudioBlock_test.cpp:32:34: error: ‘SIMDRegister’ has not been declared
   32 | String& operator<< (String& str, SIMDRegister<SampleType>) { return str; }
      |                                  ^~~~~~~~~~~~
/build/juce/src/JUCE-7.0.7/modules/juce_dsp/containers/juce_AudioBlock_test.cpp:32:46: error: expected ‘,’ or ‘...’ before ‘<’ token
   32 | String& operator<< (String& str, SIMDRegister<SampleType>) { return str; }
      |                                              ^

The new mention of SIMDRegister here should be guarded on JUCE_USE_SIMD too, to fix the following build failures present on riscv64 and other platforms:

```
In file included from /build/juce/src/JUCE-7.0.7/modules/juce_dsp/juce_dsp.cpp:103:
/build/juce/src/JUCE-7.0.7/modules/juce_dsp/containers/juce_AudioBlock_test.cpp:32:34: error: ‘SIMDRegister’ has not been declared
   32 | String& operator<< (String& str, SIMDRegister<SampleType>) { return str; }
      |                                  ^~~~~~~~~~~~
/build/juce/src/JUCE-7.0.7/modules/juce_dsp/containers/juce_AudioBlock_test.cpp:32:46: error: expected ‘,’ or ‘...’ before ‘<’ token
   32 | String& operator<< (String& str, SIMDRegister<SampleType>) { return str; }
      |                                              ^
```
felixonmars added a commit to felixonmars/archriscv-packages that referenced this pull request Sep 23, 2023
felixonmars added a commit to felixonmars/archriscv-packages that referenced this pull request Sep 23, 2023
@Anthony-Nicholls
Copy link
Contributor

The new mention of SIMDRegister here should be guarded on JUCE_USE_SIMD too, to fix the following build failures present on riscv64 and other platforms:

In file included from /build/juce/src/JUCE-7.0.7/modules/juce_dsp/juce_dsp.cpp:103:
/build/juce/src/JUCE-7.0.7/modules/juce_dsp/containers/juce_AudioBlock_test.cpp:32:34: error: ‘SIMDRegister’ has not been declared
   32 | String& operator<< (String& str, SIMDRegister<SampleType>) { return str; }
      |                                  ^~~~~~~~~~~~
/build/juce/src/JUCE-7.0.7/modules/juce_dsp/containers/juce_AudioBlock_test.cpp:32:46: error: expected ‘,’ or ‘...’ before ‘<’ token
   32 | String& operator<< (String& str, SIMDRegister<SampleType>) { return str; }
      |                                              ^

Thanks for reporting @felixonmars, I'll take a look at this now.

@Anthony-Nicholls
Copy link
Contributor

Thanks for raising. This should now be fixed in this commit.

aimixsaka added a commit to aimixsaka/archriscv-packages that referenced this pull request Oct 26, 2023
- patch in "github.com/juce-framework/JUCE/pull/1277" merged in commit "juce-framework/JUCE@f893a12"
- Successfully build without patch
felixonmars pushed a commit to felixonmars/archriscv-packages that referenced this pull request Oct 27, 2023
- patch in "github.com/juce-framework/JUCE/pull/1277" merged in commit "juce-framework/JUCE@f893a12"
- Successfully build without patch
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.

2 participants