Skip to content

error: unknown type name 'u_long'; did you mean 'u_llong'? #2

Description

@trusktr

I'm getting these errors while now that the fpu_control situation is handled:

Making install in SurfsDSPLib
  CXX      libdsplib_la-SRF_DSP.lo
In file included from SRF_DSP.cpp:1:
In file included from ./SRF_DSP.h:6:
./SRF_Resampler.h:7:31: error: unknown type name 'u_long'; did you mean 'u_llong'?
typedef void (*DoneCallback)( u_long );
                              ^~~~~~
                              u_llong
./SRF_Types.h:17:29: note: 'u_llong' declared here
typedef unsigned long long      u_llong;
                                ^
In file included from SRF_DSP.cpp:1:
In file included from ./SRF_DSP.h:6:
./SRF_Resampler.h:58:2: error: unknown type name 'u_long'; did you mean 'u_llong'?
        u_long                          m_iCBData;
        ^~~~~~
        u_llong
./SRF_Types.h:17:29: note: 'u_llong' declared here
typedef unsigned long long      u_llong;
                                ^
2 errors generated.

There's also these couple of warnings:

Making all in BuzzMachines
  CXX      libGeonik_s_Omega1_la-Omega1.lo
In file included from Omega1.cpp:29:
./../DspClasses/Volume.h:7:9: warning: 'inc_dspcvolume' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef inc_dspcvolume
        ^~~~~~~~~~~~~~
./../DspClasses/Volume.h:8:9: note: 'inc_dspcVolume' is defined here; did you mean 'inc_dspcvolume'?
#define inc_dspcVolume
        ^~~~~~~~~~~~~~
        inc_dspcvolume
1 warning generated.
Making all in M4
  CXX      libMakk_M4_la-M4.lo
M4.cpp:1474:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
                        return "<B1>0 halfnotes";
                                ^~~~
M4.cpp:1483:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
                        return "<B1>0 cents";
                                ^~~~
M4.cpp:1547:42: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
                        sprintf( txt, "%i<B0>", value*360/128);
                                         ^~~~
3 warnings generated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions