Skip to content

Commit

Permalink
Make compiler happy
Browse files Browse the repository at this point in the history
  • Loading branch information
takenori-y committed Oct 11, 2018
1 parent b9cbed5 commit 3a449f9
Show file tree
Hide file tree
Showing 96 changed files with 621 additions and 617 deletions.
1 change: 0 additions & 1 deletion src/generator/m_sequence_generation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ const int kB0(0x00000001);
const int kB28(0x10000000);
const int kB31(0x80000000);
const int kB31F(0x7fffffff);
const int kZ(0x00000000);

} // namespace

Expand Down
12 changes: 6 additions & 6 deletions src/main/acorr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <vector>
#include <getopt.h> // getopt_long
#include <fstream> // std::ifstream
#include <iomanip> // std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <sstream> // std::ostringstream
#include <vector> // std::vector

#include "SPTK/converter/waveform_to_autocorrelation.h"
#include "SPTK/utils/sptk_utils.h"
Expand Down
12 changes: 6 additions & 6 deletions src/main/amcep.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <vector>
#include <getopt.h> // getopt_long
#include <fstream> // std::ifstream, std::ofstream
#include <iomanip> // std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <sstream> // std::ostringstream
#include <vector> // std::vector

#include "SPTK/analyzer/adaptive_mel_cepstral_analysis.h"
#include "SPTK/math/statistics_accumulator.h"
Expand Down
12 changes: 6 additions & 6 deletions src/main/average.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <vector>
#include <getopt.h> // getopt_long
#include <fstream> // std::ifstream
#include <iomanip> // std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <sstream> // std::ostringstream
#include <vector> // std::vector

#include "SPTK/math/statistics_accumulator.h"
#include "SPTK/utils/sptk_utils.h"
Expand Down
12 changes: 6 additions & 6 deletions src/main/b2mc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <vector>
#include <getopt.h> // getopt_long
#include <fstream> // std::ifstream
#include <iomanip> // std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <sstream> // std::ostringstream
#include <vector> // std::vector

#include "SPTK/converter/mlsa_digital_filter_coefficients_to_mel_cepstrum.h"
#include "SPTK/utils/sptk_utils.h"
Expand Down
24 changes: 12 additions & 12 deletions src/main/bcp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,18 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h>
#include <algorithm>
#include <cstdint>
#include <cstring>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <limits>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
#include <getopt.h> // getopt_long
#include <algorithm> // std::max
#include <cstdint> // int8_t, int16_t, int32_t, int64_t, etc.
#include <cstring> // std::strncmp
#include <fstream> // std::ifstream
#include <iomanip> // std::setprecision, std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <limits> // std::numeric_limits
#include <sstream> // std::ostringstream
#include <stdexcept> // std::invalid_argument
#include <string> // std::stold, std::string
#include <vector> // std::vector

#include "SPTK/utils/int24_t.h"
#include "SPTK/utils/sptk_utils.h"
Expand Down
18 changes: 9 additions & 9 deletions src/main/bcut.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h>
#include <cstdint>
#include <cstring>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <getopt.h> // getopt_long
#include <cstdint> // int8_t, int16_t, int32_t, int64_t, etc.
#include <cstring> // std::strncmp
#include <fstream> // std::ifstream
#include <iomanip> // std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <sstream> // std::ostringstream
#include <string> // std::string
#include <vector> // std::vector

#include "SPTK/utils/int24_t.h"
#include "SPTK/utils/sptk_utils.h"
Expand Down
12 changes: 6 additions & 6 deletions src/main/c2acr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <vector>
#include <getopt.h> // getopt_long
#include <fstream> // std::ifstream
#include <iomanip> // std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <sstream> // std::ostringstream
#include <vector> // std::vector

#include "SPTK/converter/cepstrum_to_autocorrelation.h"
#include "SPTK/utils/sptk_utils.h"
Expand Down
12 changes: 6 additions & 6 deletions src/main/c2mpir.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <vector>
#include <getopt.h> // getopt_long
#include <fstream> // std::ifstream
#include <iomanip> // std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <sstream> // std::ostringstream
#include <vector> // std::vector

#include "SPTK/converter/cepstrum_to_minimum_phase_impulse_response.h"
#include "SPTK/utils/sptk_utils.h"
Expand Down
12 changes: 6 additions & 6 deletions src/main/c2ndps.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <vector>
#include <getopt.h> // getopt_long
#include <fstream> // std::ifstream
#include <iomanip> // std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <sstream> // std::ostringstream
#include <vector> // std::vector

#include "SPTK/converter/cepstrum_to_negative_derivative_of_phase_spectrum.h"
#include "SPTK/utils/sptk_utils.h"
Expand Down
14 changes: 7 additions & 7 deletions src/main/cdist.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h>
#include <cmath>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <vector>
#include <getopt.h> // getopt_long
#include <cmath> // std::sqrt
#include <fstream> // std::ifstream
#include <iomanip> // std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <sstream> // std::ostringstream
#include <vector> // std::vector

#include "SPTK/math/distance_calculator.h"
#include "SPTK/math/statistics_accumulator.h"
Expand Down
14 changes: 7 additions & 7 deletions src/main/clip.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h>
#include <cfloat>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <getopt.h> // getopt_long
#include <cfloat> // DBL_MAX
#include <fstream> // std::ifstream
#include <iomanip> // std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <sstream> // std::ostringstream

#include "SPTK/math/scalar_operation.h"
#include "SPTK/utils/sptk_utils.h"
Expand Down Expand Up @@ -85,7 +85,7 @@ int main(int argc, char* argv[]) {
double upper_bound(kDefaultUpperBound);

for (;;) {
const int option_char(getopt_long_only(argc, argv, "l:u:h", NULL, NULL));
const int option_char(getopt_long(argc, argv, "l:u:h", NULL, NULL));
if (-1 == option_char) break;

switch (option_char) {
Expand Down
12 changes: 6 additions & 6 deletions src/main/csm2acr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <vector>
#include <getopt.h> // getopt_long
#include <fstream> // std::ifstream
#include <iomanip> // std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <sstream> // std::ostringstream
#include <vector> // std::vector

#include "SPTK/converter/composite_sinusoidal_modeling_to_autocorrelation.h"
#include "SPTK/utils/sptk_utils.h"
Expand Down
13 changes: 7 additions & 6 deletions src/main/dct.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h> // getopt_long
#include <getopt.h>
#include <cmath>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <vector>
#include <cmath> // std::sqrt
#include <fstream> // std::ifstream
#include <iomanip> // std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <sstream> // std::ostringstream
#include <vector> // std::vector

#include "SPTK/math/discrete_cosine_transform.h"
#include "SPTK/utils/sptk_utils.h"
Expand Down
12 changes: 6 additions & 6 deletions src/main/decimate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <vector>
#include <getopt.h> // getopt_long
#include <fstream> // std::ifstream
#include <iomanip> // std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <sstream> // std::ostringstream
#include <vector> // std::vector

#include "SPTK/utils/sptk_utils.h"

Expand Down
12 changes: 6 additions & 6 deletions src/main/delay.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <queue>
#include <sstream>
#include <getopt.h> // getopt_long
#include <fstream> // std::ifstream
#include <iomanip> // std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <queue> // std::queue
#include <sstream> // std::ostringstream

#include "SPTK/utils/sptk_utils.h"

Expand Down
10 changes: 5 additions & 5 deletions src/main/dequantize.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <getopt.h> // getopt_long
#include <fstream> // std::ifstream
#include <iomanip> // std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <sstream> // std::ostringstream

#include "SPTK/quantizer/inverse_uniform_quantization.h"
#include "SPTK/utils/sptk_utils.h"
Expand Down
16 changes: 8 additions & 8 deletions src/main/df2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h>
#include <algorithm>
#include <cmath>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <vector>
#include <getopt.h> // getopt_long
#include <algorithm> // std::max
#include <cmath> // std::cos, std::exp
#include <fstream> // std::ifstream
#include <iomanip> // std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <sstream> // std::ostringstream
#include <vector> // std::vector

#include "SPTK/filter/infinite_impulse_response_digital_filter.h"
#include "SPTK/utils/sptk_utils.h"
Expand Down
13 changes: 6 additions & 7 deletions src/main/dfs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,12 @@
// POSSIBILITY OF SUCH DAMAGE. //
// ----------------------------------------------------------------- //

#include <getopt.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <getopt.h> // getopt_long
#include <fstream> // std::ifstream
#include <iomanip> // std::setw
#include <iostream> // std::cerr, std::cin, std::cout, std::endl, etc.
#include <sstream> // std::ostringstream
#include <vector> // std::vector

#include "SPTK/filter/infinite_impulse_response_digital_filter.h"
#include "SPTK/utils/sptk_utils.h"
Expand Down
Loading

0 comments on commit 3a449f9

Please sign in to comment.