Giter VIP home page Giter VIP logo

lossywav-for-posix's People

Contributors

mosal avatar rtollert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lossywav-for-posix's Issues

doesn't compile

$ git describe
1.4.2p.r1

Here's what I did:

$ python2 waf configure
Setting top to                           : /tmp/lossywav-git/lossywav
Setting out to                           : /tmp/lossywav-git/lossywav/build
Checking for 'g++' (C++ compiler)        : /usr/bin/g++
Checking for compiler flags -std=c++11   : yes
Checking for compiler flags -O2          : yes
Checking for compiler flags -pipe        : yes
Checking for compiler flags -fPIE        : yes
Checking for linker flags -pie           : yes
Checking for optimized CXXFLAGS support:
Checking for compiler flags -Ofast       : yes
Checking for LTO CXXFLAGS/LINKFLAGS support:
Checking for compiler flags -flto        : yes
Checking for linker flags -flto          : yes
Checking for optimized LINKFLAGS support:
Checking for linker flags ['-Wl,-O1']    : yes
Checking for linker flags ['-Wl,--sort-common'] : yes
Checking for linker flags ['-Wl,--as-needed']   : yes
Checking for linker flags ['-Wl,-z,relro']      : yes
Checking for linker flags ['-Wl,-z,now']        : yes
Checking API support:
Checking for function std::chrono::steady_clock::now : yes
Checking for function setpriority                    : yes
Checking for function stat                           : yes
Checking for function chmod                          : yes
Checking for function nanosleep                      : yes
Checking for function sincos                         : yes
Check dependencies:
'configure' finished successfully (9.684s)
$ python2 waf build
Waf: Entering directory `/tmp/lossywav-git/lossywav/build'
[ 1/15] Compiling units/fftw_interface.cpp
[ 2/15] Compiling units/nCore.cpp
[ 3/15] Compiling units/nFFT.cpp
[ 4/15] Compiling units/nFillFFT.cpp
[ 5/15] Compiling units/nInitialise.cpp
[ 6/15] Compiling units/nOutput.cpp
[ 7/15] Compiling units/nParameter.cpp
[ 8/15] Compiling units/nProcess.cpp
[ 9/15] Compiling units/nRemoveBits.cpp
[10/15] Compiling units/nSGNS.cpp
[11/15] Compiling units/nShiftBlocks.cpp
[12/15] Compiling units/nSpreading.cpp
[13/15] Compiling units/nWav.cpp
[14/15] Compiling lossyWAV.cpp
../units/nWav.cpp:225:24: error: flexible array member ‘{anonymous}::tDS64Header::Table’ not at end of ‘struct {anonymous}::tWAVEChunks’
     tChunkSize64 Table[];
                        ^
../units/nWav.cpp:352:15: note: next member ‘{anonymous}::tFMTChunk {anonymous}::tWAVEChunks::FMT’ declared here
     tFMTChunk FMT;
               ^~~
../units/nWav.cpp:348:8: note: in the definition of ‘struct {anonymous}::tWAVEChunks’
 struct tWAVEChunks
        ^~~~~~~~~~~
../units/nWav.cpp:225:24: error: flexible array member ‘{anonymous}::tDS64Header::Table’ not at end of ‘struct {anonymous}::tRIFF_Rec’
     tChunkSize64 Table[];
                        ^
../units/nWav.cpp:352:15: note: next member ‘{anonymous}::tFMTChunk {anonymous}::tWAVEChunks::FMT’ declared here
     tFMTChunk FMT;
               ^~~
../units/nWav.cpp:413:8: note: in the definition of ‘struct {anonymous}::tRIFF_Rec’
 struct tRIFF_Rec
        ^~~~~~~~~
../units/nWav.cpp:225:24: error: flexible array member ‘{anonymous}::tDS64Header::Table’ not at end of ‘struct {anonymous}::RIFF’
     tChunkSize64 Table[];
                        ^
../units/nWav.cpp:352:15: note: next member ‘{anonymous}::tFMTChunk {anonymous}::tWAVEChunks::FMT’ declared here
     tFMTChunk FMT;
               ^~~
../units/nWav.cpp:487:8: note: in the definition of ‘struct {anonymous}::RIFF’
 struct RIFF
        ^~~~

Waf: Leaving directory `/tmp/lossywav-git/lossywav/build'
Build failed
 -> task in 'lossywav-objs' failed with exit status 1 (run with -v to display more information)
$  python2 waf build -v
Waf: Entering directory `/tmp/lossywav-git/lossywav/build'
[13/15] Compiling units/nWav.cpp
12:50:27 runner ['/usr/bin/g++', '-std=c++11', '-pipe', '-fPIE', '-Ofast', '-flto', '-DHAVE_STD_CHRONO_STEADY_CLOCK_NOW=1', '-DHAVE_SETPRIORITY=1', '-DHAVE_STAT=1', '-DHAVE_CHMOD=1', '-DHAVE_NANOSLEEP=1', '-DHAVE_SINCOS=1', '../units/nWav.cpp', '-c', '-o/tmp/lossywav-git/lossywav/build/units/nWav.cpp.1.o']
../units/nWav.cpp:225:24: error: flexible array member ‘{anonymous}::tDS64Header::Table’ not at end of ‘struct {anonymous}::tWAVEChunks’
     tChunkSize64 Table[];
                        ^
../units/nWav.cpp:352:15: note: next member ‘{anonymous}::tFMTChunk {anonymous}::tWAVEChunks::FMT’ declared here
     tFMTChunk FMT;
               ^~~
../units/nWav.cpp:348:8: note: in the definition of ‘struct {anonymous}::tWAVEChunks’
 struct tWAVEChunks
        ^~~~~~~~~~~
../units/nWav.cpp:225:24: error: flexible array member ‘{anonymous}::tDS64Header::Table’ not at end of ‘struct {anonymous}::tRIFF_Rec’
     tChunkSize64 Table[];
                        ^
../units/nWav.cpp:352:15: note: next member ‘{anonymous}::tFMTChunk {anonymous}::tWAVEChunks::FMT’ declared here
     tFMTChunk FMT;
               ^~~
../units/nWav.cpp:413:8: note: in the definition of ‘struct {anonymous}::tRIFF_Rec’
 struct tRIFF_Rec
        ^~~~~~~~~
../units/nWav.cpp:225:24: error: flexible array member ‘{anonymous}::tDS64Header::Table’ not at end of ‘struct {anonymous}::RIFF’
     tChunkSize64 Table[];
                        ^
../units/nWav.cpp:352:15: note: next member ‘{anonymous}::tFMTChunk {anonymous}::tWAVEChunks::FMT’ declared here
     tFMTChunk FMT;
               ^~~
../units/nWav.cpp:487:8: note: in the definition of ‘struct {anonymous}::RIFF’
 struct RIFF
        ^~~~

Waf: Leaving directory `/tmp/lossywav-git/lossywav/build'
Build failed
 -> task in 'lossywav-objs' failed with exit status 1:
        {task 140248314140624: cxx nWav.cpp -> nWav.cpp.1.o}
['/usr/bin/g++', '-std=c++11', '-pipe', '-fPIE', '-Ofast', '-flto', '-DHAVE_STD_CHRONO_STEADY_CLOCK_NOW=1', '-DHAVE_SETPRIORITY=1', '-DHAVE_STAT=1', '-DHAVE_CHMOD=1', '-DHAVE_NANOSLEEP=1', '-DHAVE_SINCOS=1', '../units/nWav.cpp', '-c', '-o/tmp/lossywav-git/lossywav/build/units/nWav.cpp.1.o']
$  g++ --version
g++ (GCC) 7.2.1 20171128
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I'm no coder, don't know how to fix this.

Do you need more information about package versions etc?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.