The build took 00h 01m 06s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
8,006 |
cpp |
838 |
ansic |
95 |
sh |
8,939 |
total |
The process tree of the build process is here.
Several sub-process invocations were improper; see the process tree for details. Summary:
To avoid scrolling, you may jump to the last line of the
invocation of makepkg
that was used to build this
package.
Removed vanilla repositories from pacman.conf and added:
Copied permanent toolchain into container-local sysroot
/toolchain_root/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
/toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
/toolchain_root/sysroot --> /sysroot/sysroot
/toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
/toolchain_root/lib --> /sysroot/lib
/toolchain_root/SOURCES --> /sysroot/SOURCES
/toolchain_root/lib64 --> /sysroot/lib64
/toolchain_root/share --> /sysroot/share
/toolchain_root/bin --> /sysroot/bin
/toolchain_root/COPYING --> /sysroot/COPYING
/toolchain_root/COPYING3 --> /sysroot/COPYING3
/toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
/toolchain_root/include --> /sysroot/include
/toolchain_root/libexec --> /sysroot/libexec
CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
==> Making package: atomicparsley 0.9.0-6 (Tue Apr 4 19:29:52 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
Compiling AP_commons.cpp ...
cc1plus: error: no include path in which to search for stdc-predef.h
AP_commons.cpp:28:19: error: no include path in which to search for stdio.h
#include
^
AP_commons.cpp:29:20: error: no include path in which to search for string.h
#include
^
AP_commons.cpp:30:20: error: no include path in which to search for stdlib.h
#include
^
AP_commons.cpp:31:18: error: no include path in which to search for time.h
#include
^
AP_commons.cpp:32:19: error: no include path in which to search for wchar.h
#include
^
In file included from AP_commons.cpp:34:0:
AP_commons.h:22:23: error: no include path in which to search for sys/types.h
#include
^
AP_commons.h:23:22: error: no include path in which to search for sys/stat.h
#include
^
In file included from AP_commons.cpp:36:0:
AtomicParsley.h:26:23: error: no include path in which to search for sys/param.h
#include
^
In file included from AtomicParsley.h:35:0,
from AP_commons.cpp:36:
AP_commons.h:22:23: error: no include path in which to search for sys/types.h
#include
^
AP_commons.h:23:22: error: no include path in which to search for sys/stat.h
#include
^
In file included from AP_commons.cpp:34:0:
AP_commons.h:67:20: error: 'FILE' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:26: error: 'm4afile' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:44: error: expected primary-expression before 'pos'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:47: error: expression list treated as compound expression in initializer [-fpermissive]
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:68:36: error: 'FILE' has not been declared
uint16_t APar_read16(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:69:36: error: 'FILE' has not been declared
uint32_t APar_read32(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:70:31: error: 'FILE' has not been declared
void APar_readX(char* buffer, FILE* m4afile, uint32_t pos, uint32_t length);
^
AP_commons.h:71:52: error: 'FILE' has not been declared
uint32_t APar_FindValueInAtom(char* uint32_buffer, FILE* m4afile, short an_atom, uint32_t start_position, uint32_t eval_number);
^
In file included from AP_commons.cpp:34:0:
AP_commons.h:84:63: error: 'size_t' has not been declared
wchar_t* Convert_multibyteUTF16_to_wchar(char* input_unicode, size_t glyph_length, bool skip_BOM);
^
AP_commons.h:85:65: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
AP_commons.h:85:86: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
In file included from AtomicParsley.h:35:0,
from AP_commons.cpp:36:
AP_commons.h:67:20: error: redefinition of 'uint8_t APar_read8'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
In file included from AP_commons.cpp:34:0:
AP_commons.h:67:9: error: 'uint8_t APar_read8' previously defined here
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
In file included from AtomicParsley.h:35:0,
from AP_commons.cpp:36:
AP_commons.h:67:20: error: 'FILE' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:26: error: 'm4afile' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:44: error: expected primary-expression before 'pos'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:68:36: error: 'FILE' has not been declared
uint16_t APar_read16(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:69:36: error: 'FILE' has not been declared
uint32_t APar_read32(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:70:31: error: 'FILE' has not been declared
void APar_readX(char* buffer, FILE* m4afile, uint32_t pos, uint32_t length);
^
AP_commons.h:71:52: error: 'FILE' has not been declared
uint32_t APar_FindValueInAtom(char* uint32_buffer, FILE* m4afile, short an_atom, uint32_t start_position, uint32_t eval_number);
^
In file included from AtomicParsley.h:35:0,
from AP_commons.cpp:36:
AP_commons.h:84:63: error: 'size_t' has not been declared
wchar_t* Convert_multibyteUTF16_to_wchar(char* input_unicode, size_t glyph_length, bool skip_BOM);
^
AP_commons.h:85:65: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
AP_commons.h:85:86: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
In file included from AP_commons.cpp:36:0:
AtomicParsley.h:106:1: warning: 'typedef' was ignored in this declaration [enabled by default]
};
^
AtomicParsley.h:258:1: error: 'off_t' does not name a type
off_t findFileSize(const char *utf8_filepath);
^
AtomicParsley.h:259:1: error: 'FILE' does not name a type
FILE* APar_OpenFile(const char* utf8_filepath, const char* file_flags);
^
AtomicParsley.h:260:1: error: 'FILE' does not name a type
FILE* openSomeFile(const char* file, bool open);
^
AtomicParsley.h:262:50: error: 'FILE' has not been declared
uint32_t APar_ReadFile(char* destination_buffer, FILE* a_file, uint32_t bytes_to_read);
^
AP_commons.cpp:60:20: error: redefinition of 'uint8_t APar_read8'
uint8_t APar_read8(FILE* m4afile, uint32_t pos) {
^
In file included from AP_commons.cpp:34:0:
AP_commons.h:67:9: error: 'uint8_t APar_read8' previously defined here
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.cpp:60:20: error: 'FILE' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos) {
^
AP_commons.cpp:60:26: error: 'm4afile' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos) {
^
AP_commons.cpp:60:44: error: expected primary-expression before 'pos'
uint8_t APar_read8(FILE* m4afile, uint32_t pos) {
^
AP_commons.cpp:67:36: error: 'FILE' has not been declared
uint16_t APar_read16(char* buffer, FILE* m4afile, uint32_t pos) {
^
AP_commons.cpp: In function 'uint16_t APar_read16(char*, int*, uint32_t)':
AP_commons.cpp:68:23: error: 'SEEK_SET' was not declared in this scope
fseeko(m4afile, pos, SEEK_SET);
^
AP_commons.cpp:68:31: error: 'fseeko' was not declared in this scope
fseeko(m4afile, pos, SEEK_SET);
^
AP_commons.cpp:69:29: error: 'fread' was not declared in this scope
fread(buffer, 1, 2, m4afile);
^
AP_commons.cpp: At global scope:
AP_commons.cpp:73:36: error: 'FILE' has not been declared
uint32_t APar_read32(char* buffer, FILE* m4afile, uint32_t pos) {
^
AP_commons.cpp: In function 'uint32_t APar_read32(char*, int*, uint32_t)':
AP_commons.cpp:74:23: error: 'SEEK_SET' was not declared in this scope
fseeko(m4afile, pos, SEEK_SET);
^
AP_commons.cpp:74:31: error: 'fseeko' was not declared in this scope
fseeko(m4afile, pos, SEEK_SET);
^
AP_commons.cpp:75:29: error: 'fread' was not declared in this scope
fread(buffer, 1, 4, m4afile);
^
AP_commons.cpp: At global scope:
AP_commons.cpp:79:31: error: 'FILE' has not been declared
void APar_readX(char* buffer, FILE* m4afile, uint32_t pos, uint32_t length) {
^
AP_commons.cpp: In function 'void APar_readX(char*, int*, uint32_t, uint32_t)':
AP_commons.cpp:80:23: error: 'SEEK_SET' was not declared in this scope
fseeko(m4afile, pos, SEEK_SET);
^
AP_commons.cpp:80:31: error: 'fseeko' was not declared in this scope
fseeko(m4afile, pos, SEEK_SET);
^
AP_commons.cpp:81:34: error: 'fread' was not declared in this scope
fread(buffer, 1, length, m4afile);
^
AP_commons.cpp: At global scope:
AP_commons.cpp:85:52: error: 'FILE' has not been declared
uint32_t APar_FindValueInAtom(char* uint32_buffer, FILE* m4afile, short an_atom, uint32_t start_position, uint32_t eval_number) {
^
AP_commons.cpp: In function 'uint32_t APar_FindValueInAtom(char*, int*, short int, uint32_t, uint32_t)':
AP_commons.cpp:87:28: error: 'memset' was not declared in this scope
memset(uint32_buffer, 0, 5);
^
AP_commons.cpp: In function 'uint16_t PackLanguage(const char*, uint8_t)':
AP_commons.cpp:138:51: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
(language_code[2+lang_offset] - 0x60) & 0x1F;
^
AP_commons.cpp: At global scope:
AP_commons.cpp:205:63: error: 'size_t' has not been declared
wchar_t* Convert_multibyteUTF16_to_wchar(char* input_unicode, size_t glyph_length, bool skip_BOM) { //TODO: is this like wcstombs?
^
AP_commons.cpp: In function 'wchar_t* Convert_multibyteUTF16_to_wchar(char*, int, bool)':
AP_commons.cpp:211:72: error: 'malloc' was not declared in this scope
wchar_t* utf16_data = (wchar_t*)malloc( sizeof(wchar_t)* glyph_length ); //just to be sure there will be a trailing NULL
^
AP_commons.cpp:212:37: error: 'wmemset' was not declared in this scope
wmemset(utf16_data, 0, glyph_length);
^
AP_commons.cpp:214:6: error: 'size_t' was not declared in this scope
for(size_t i = 0; i < glyph_length; i++) {
^
AP_commons.cpp:214:13: error: expected ';' before 'i'
for(size_t i = 0; i < glyph_length; i++) {
^
AP_commons.cpp:214:20: error: 'i' was not declared in this scope
for(size_t i = 0; i < glyph_length; i++) {
^
AP_commons.cpp: At global scope:
AP_commons.cpp:224:66: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf16, size_t glyph_length, size_t byte_count) {
^
AP_commons.cpp:224:87: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf16, size_t glyph_length, size_t byte_count) {
^
AP_commons.cpp: In function 'unsigned char* Convert_multibyteUTF16_to_UTF8(char*, int, int)':
AP_commons.cpp:225:88: error: 'malloc' was not declared in this scope
unsigned char* utf8_data = (unsigned char*)malloc(sizeof(unsigned char)* glyph_length );
^
AP_commons.cpp:226:35: error: 'memset' was not declared in this scope
memset(utf8_data, 0, glyph_length);
^
AP_commons.cpp: In function 'wchar_t* Convert_multibyteUTF8_to_wchar(const char*)':
AP_commons.cpp:233:2: error: 'size_t' was not declared in this scope
size_t string_length = strlen(input_utf8) + 1; //account for terminating NULL
^
AP_commons.cpp:233:9: error: expected ';' before 'string_length'
size_t string_length = strlen(input_utf8) + 1; //account for terminating NULL
^
AP_commons.cpp:234:9: error: expected ';' before 'char_glyphs'
size_t char_glyphs = mbstowcs(NULL, input_utf8, string_length); //passing NULL pre-calculates the size of wchar_t needed
^
AP_commons.cpp:236:83: error: 'string_length' was not declared in this scope
unsigned char* utf16_conversion = (unsigned char*)malloc( sizeof(unsigned char)* string_length * 2 );
^
AP_commons.cpp:236:101: error: 'malloc' was not declared in this scope
unsigned char* utf16_conversion = (unsigned char*)malloc( sizeof(unsigned char)* string_length * 2 );
^
AP_commons.cpp:237:48: error: 'memset' was not declared in this scope
memset(utf16_conversion, 0, string_length * 2 );
^
AP_commons.cpp:239:54: error: 'char_glyphs' was not declared in this scope
int utf_16_glyphs = UTF8ToUTF16BE(utf16_conversion, char_glyphs * 2, (unsigned char*)input_utf8, string_length);
^
AP_commons.cpp:240:74: error: expected ')' before 'utf_16_glyphs'
return Convert_multibyteUTF16_to_wchar((char*)utf16_conversion, (size_t)utf_16_glyphs, false );
^
AP_commons.cpp:239:6: warning: unused variable 'utf_16_glyphs' [-Wunused-variable]
int utf_16_glyphs = UTF8ToUTF16BE(utf16_conversion, char_glyphs * 2, (unsigned char*)input_utf8, string_length);
^
AP_commons.cpp: In function 'uint16_t UInt16FromBigEndian(const char*)':
AP_commons.cpp:253:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
return ((string[0] & 0xff) << 8 | string[1] & 0xff) << 0;
^
AP_commons.cpp: In function 'uint32_t UInt32FromBigEndian(const char*)':
AP_commons.cpp:263:100: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
return ((string[0] & 0xff) << 24 | (string[1] & 0xff) << 16 | (string[2] & 0xff) << 8 | string[3] & 0xff) << 0;
^
AP_commons.cpp: In function 'uint64_t UInt64FromBigEndian(const char*)':
AP_commons.cpp:274:96: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
(string[4] & 0xff) << 24 | (string[5] & 0xff) << 16 | (string[6] & 0xff) << 8 | string[7] & 0xff) << 0;
^
AP_commons.cpp: In function 'bool APar_assert(bool, int, char*)':
AP_commons.cpp:344:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "AP warning:\n\tSetting the %s tag is for ordinary MPEG-4 files.\n\tIt is not supported on 3GP files.\nSkipping\n", supplemental_info);
^
AP_commons.cpp:344:154: error: 'fprintf' was not declared in this scope
fprintf(stdout, "AP warning:\n\tSetting the %s tag is for ordinary MPEG-4 files.\n\tIt is not supported on 3GP files.\nSkipping\n", supplemental_info);
^
AP_commons.cpp:349:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "AP warning:\n\tSetting the %s asset is only available on 3GPP files.\n\tIt is not supported on ordinary MPEG-4 files.\nSkipping\n", supplemental_info);
^
AP_commons.cpp:349:171: error: 'fprintf' was not declared in this scope
fprintf(stdout, "AP warning:\n\tSetting the %s asset is only available on 3GPP files.\n\tIt is not supported on ordinary MPEG-4 files.\nSkipping\n", supplemental_info);
^
AP_commons.cpp:354:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "AtomicParsley warning: \n\tthe 'albm' tag is only allowed on files of '3gp6' brand & later.\nSkipping.\n");
^
AP_commons.cpp:354:127: error: 'fprintf' was not declared in this scope
fprintf(stdout, "AtomicParsley warning: \n\tthe 'albm' tag is only allowed on files of '3gp6' brand & later.\nSkipping.\n");
^
AP_commons.cpp:358:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "Major brand of given file: %s\n", supplemental_info);
^
AP_commons.cpp:358:73: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Major brand of given file: %s\n", supplemental_info);
^
AP_commons.cpp:362:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "AP warning: skipping non-existing track number setting iso atom: %s.\n", supplemental_info);
^
AP_commons.cpp:362:112: error: 'fprintf' was not declared in this scope
fprintf(stdout, "AP warning: skipping non-existing track number setting iso atom: %s.\n", supplemental_info);
^
AP_commons.cpp: In function 'wchar_t* Convert_multibyteUTF8_to_wchar(const char*)':
AP_commons.cpp:241:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Compiling AtomicParsley_genres.cpp ...
cc1plus: error: no include path in which to search for stdc-predef.h
AtomicParsley_genres.cpp:29:19: error: no include path in which to search for stdio.h
#include
^
AtomicParsley_genres.cpp:30:20: error: no include path in which to search for string.h
#include
^
AtomicParsley_genres.cpp:31:20: error: no include path in which to search for stdlib.h
#include
^
In file included from AtomicParsley_genres.cpp:33:0:
AP_commons.h:22:23: error: no include path in which to search for sys/types.h
#include
^
AP_commons.h:23:22: error: no include path in which to search for sys/stat.h
#include
^
In file included from AtomicParsley_genres.cpp:34:0:
AtomicParsley.h:26:23: error: no include path in which to search for sys/param.h
#include
^
In file included from AtomicParsley.h:35:0,
from AtomicParsley_genres.cpp:34:
AP_commons.h:22:23: error: no include path in which to search for sys/types.h
#include
^
AP_commons.h:23:22: error: no include path in which to search for sys/stat.h
#include
^
In file included from AtomicParsley_genres.cpp:33:0:
AP_commons.h:67:20: error: 'FILE' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:26: error: 'm4afile' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:44: error: expected primary-expression before 'pos'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:47: error: expression list treated as compound expression in initializer [-fpermissive]
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:68:36: error: 'FILE' has not been declared
uint16_t APar_read16(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:69:36: error: 'FILE' has not been declared
uint32_t APar_read32(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:70:31: error: 'FILE' has not been declared
void APar_readX(char* buffer, FILE* m4afile, uint32_t pos, uint32_t length);
^
AP_commons.h:71:52: error: 'FILE' has not been declared
uint32_t APar_FindValueInAtom(char* uint32_buffer, FILE* m4afile, short an_atom, uint32_t start_position, uint32_t eval_number);
^
In file included from AtomicParsley_genres.cpp:33:0:
AP_commons.h:84:63: error: 'size_t' has not been declared
wchar_t* Convert_multibyteUTF16_to_wchar(char* input_unicode, size_t glyph_length, bool skip_BOM);
^
AP_commons.h:85:65: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
AP_commons.h:85:86: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
In file included from AtomicParsley.h:35:0,
from AtomicParsley_genres.cpp:34:
AP_commons.h:67:20: error: redefinition of 'uint8_t APar_read8'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
In file included from AtomicParsley_genres.cpp:33:0:
AP_commons.h:67:9: error: 'uint8_t APar_read8' previously defined here
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
In file included from AtomicParsley.h:35:0,
from AtomicParsley_genres.cpp:34:
AP_commons.h:67:20: error: 'FILE' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:26: error: 'm4afile' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:44: error: expected primary-expression before 'pos'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:68:36: error: 'FILE' has not been declared
uint16_t APar_read16(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:69:36: error: 'FILE' has not been declared
uint32_t APar_read32(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:70:31: error: 'FILE' has not been declared
void APar_readX(char* buffer, FILE* m4afile, uint32_t pos, uint32_t length);
^
AP_commons.h:71:52: error: 'FILE' has not been declared
uint32_t APar_FindValueInAtom(char* uint32_buffer, FILE* m4afile, short an_atom, uint32_t start_position, uint32_t eval_number);
^
In file included from AtomicParsley.h:35:0,
from AtomicParsley_genres.cpp:34:
AP_commons.h:84:63: error: 'size_t' has not been declared
wchar_t* Convert_multibyteUTF16_to_wchar(char* input_unicode, size_t glyph_length, bool skip_BOM);
^
AP_commons.h:85:65: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
AP_commons.h:85:86: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
In file included from AtomicParsley_genres.cpp:34:0:
AtomicParsley.h:106:1: warning: 'typedef' was ignored in this declaration [enabled by default]
};
^
AtomicParsley.h:258:1: error: 'off_t' does not name a type
off_t findFileSize(const char *utf8_filepath);
^
AtomicParsley.h:259:1: error: 'FILE' does not name a type
FILE* APar_OpenFile(const char* utf8_filepath, const char* file_flags);
^
AtomicParsley.h:260:1: error: 'FILE' does not name a type
FILE* openSomeFile(const char* file, bool open);
^
AtomicParsley.h:262:50: error: 'FILE' has not been declared
uint32_t APar_ReadFile(char* destination_buffer, FILE* a_file, uint32_t bytes_to_read);
^
AtomicParsley_genres.cpp:82:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
};
^
AtomicParsley_genres.cpp:82:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:82:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:82:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:82:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:82:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:82:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:82:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
};
^
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp:108:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley_genres.cpp: In function 'char* GenreIntToString(int)':
AtomicParsley_genres.cpp:111:24: error: 'NULL' was not declared in this scope
char* return_string = NULL;
^
AtomicParsley_genres.cpp: In function 'uint8_t StringGenreToInt(const char*)':
AtomicParsley_genres.cpp:121:44: error: 'strlen' was not declared in this scope
uint8_t genre_length = strlen(genre_string)+1;
^
AtomicParsley_genres.cpp:124:136: error: 'memcmp' was not declared in this scope
if ( memcmp(genre_string, ID3v1GenreList[i], strlen(ID3v1GenreList[i])+1 > genre_length ? strlen(ID3v1GenreList[i])+1 : genre_length ) == 0) {
^
AtomicParsley_genres.cpp: In function 'void ListGenresValues()':
AtomicParsley_genres.cpp:138:10: error: 'stdout' was not declared in this scope
fprintf(stdout, "\tAvailable standard genres - case sensitive.\n");
^
AtomicParsley_genres.cpp:138:67: error: 'fprintf' was not declared in this scope
fprintf(stdout, "\tAvailable standard genres - case sensitive.\n");
^
AtomicParsley_genres.cpp: In function 'stiks* MatchStikString(const char*)':
AtomicParsley_genres.cpp:147:25: error: 'NULL' was not declared in this scope
stiks* matching_stik = NULL;
^
AtomicParsley_genres.cpp:149:49: error: 'strlen' was not declared in this scope
uint8_t stik_str_length = strlen(in_stik_string) +1;
^
AtomicParsley_genres.cpp:153:136: error: 'memcmp' was not declared in this scope
strlen(stikArray[i].stik_string)+1 > stik_str_length ? strlen(stikArray[i].stik_string)+1 : stik_str_length ) == 0) {
^
AtomicParsley_genres.cpp: In function 'stiks* MatchStikNumber(uint8_t)':
AtomicParsley_genres.cpp:162:25: error: 'NULL' was not declared in this scope
stiks* matching_stik = NULL;
^
AtomicParsley_genres.cpp: In function 'void ListStikValues()':
AtomicParsley_genres.cpp:176:10: error: 'stdout' was not declared in this scope
fprintf(stdout, "\tAvailable stik settings - case sensitive (number in parens shows the stik value).\n");
^
AtomicParsley_genres.cpp:176:106: error: 'fprintf' was not declared in this scope
fprintf(stdout, "\tAvailable stik settings - case sensitive (number in parens shows the stik value).\n");
^
AtomicParsley_genres.cpp: In function 'sfIDs* MatchStoreFrontNumber(uint32_t)':
AtomicParsley_genres.cpp:185:25: error: 'NULL' was not declared in this scope
sfIDs* matching_sfID = NULL;
^
Compiling AP_iconv.cpp ...
cc1plus: error: no include path in which to search for stdc-predef.h
AP_iconv.cpp:22:20: error: no include path in which to search for string.h
#include
^
AP_iconv.cpp:660:19: error: no include path in which to search for stdio.h
#include
^
AP_iconv.cpp: In function 'int isolat1ToUTF8(unsigned char*, int, const unsigned char*, int)':
AP_iconv.cpp:88:17: error: 'NULL' was not declared in this scope
if ((out == NULL) || (in == NULL) || (outlen == 0) || (inlen == 0))
^
AP_iconv.cpp: In function 'int UTF8Toisolat1(unsigned char*, int, const unsigned char*, int)':
AP_iconv.cpp:139:17: error: 'NULL' was not declared in this scope
if ((out == NULL) || (outlen == 0) || (inlen == 0)) return(-1);
^
AP_iconv.cpp:140:15: error: 'NULL' was not declared in this scope
if (in == NULL) {
^
AP_iconv.cpp: In function 'int UTF8ToUTF16BE(unsigned char*, int, const unsigned char*, int)':
AP_iconv.cpp:323:18: error: 'NULL' was not declared in this scope
if ((outb == NULL) || (outlen == 0) || (inlen == 0)) return(-1);
^
AP_iconv.cpp:324:15: error: 'NULL' was not declared in this scope
if (in == NULL) {
^
AP_iconv.cpp: In function 'int UTF8ToUTF16LE(unsigned char*, int, const unsigned char*, int)':
AP_iconv.cpp:512:17: error: 'NULL' was not declared in this scope
if ((out == NULL) || (outlen == 0) || (inlen == 0)) return(-1);
^
AP_iconv.cpp:513:15: error: 'NULL' was not declared in this scope
if (in == NULL) {
^
AP_iconv.cpp: In function 'int isUTF8(const char*)':
AP_iconv.cpp:594:19: error: 'NULL' was not declared in this scope
if (in_string != NULL ) {
^
AP_iconv.cpp:595:31: error: 'strlen' was not declared in this scope
str_bytes = strlen(in_string);
^
AP_iconv.cpp: In function 'unsigned int utf8_length(const char*, unsigned int)':
AP_iconv.cpp:664:44: error: 'strlen' was not declared in this scope
unsigned int in_str_len = strlen(in_string);
^
AP_iconv.cpp:668:19: error: 'NULL' was not declared in this scope
if (in_string == NULL) return 0;
^
AP_iconv.cpp: In function 'int strip_bogusUTF16toRawUTF8(unsigned char*, int, wchar_t*, int)':
AP_iconv.cpp:704:17: error: 'NULL' was not declared in this scope
if ((out == NULL) || (in == NULL) || (outlen == 0) || (inlen == 0))
^
Compiling AtomicParsley.cpp ...
cc1plus: error: no include path in which to search for stdc-predef.h
AtomicParsley.cpp:29:23: error: no include path in which to search for sys/types.h
#include
^
AtomicParsley.cpp:30:22: error: no include path in which to search for sys/stat.h
#include
^
AtomicParsley.cpp:31:19: error: no include path in which to search for stdio.h
#include
^
AtomicParsley.cpp:32:20: error: no include path in which to search for string.h
#include
^
AtomicParsley.cpp:33:20: error: no include path in which to search for stdlib.h
#include
^
AtomicParsley.cpp:34:19: error: no include path in which to search for errno.h
#include
^
AtomicParsley.cpp:35:18: error: no include path in which to search for time.h
#include
^
AtomicParsley.cpp:36:18: error: no include path in which to search for math.h
#include
^
AtomicParsley.cpp:37:19: error: no include path in which to search for wchar.h
#include
^
In file included from AtomicParsley.cpp:39:0:
AtomicParsley.h:26:23: error: no include path in which to search for sys/param.h
#include
^
In file included from AtomicParsley.h:35:0,
from AtomicParsley.cpp:39:
AP_commons.h:22:23: error: no include path in which to search for sys/types.h
#include
^
AP_commons.h:23:22: error: no include path in which to search for sys/stat.h
#include
^
AP_commons.h:67:20: error: 'FILE' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:26: error: 'm4afile' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:44: error: expected primary-expression before 'pos'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:47: error: expression list treated as compound expression in initializer [-fpermissive]
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:68:36: error: 'FILE' has not been declared
uint16_t APar_read16(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:69:36: error: 'FILE' has not been declared
uint32_t APar_read32(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:70:31: error: 'FILE' has not been declared
void APar_readX(char* buffer, FILE* m4afile, uint32_t pos, uint32_t length);
^
AP_commons.h:71:52: error: 'FILE' has not been declared
uint32_t APar_FindValueInAtom(char* uint32_buffer, FILE* m4afile, short an_atom, uint32_t start_position, uint32_t eval_number);
^
In file included from AtomicParsley.h:35:0,
from AtomicParsley.cpp:39:
AP_commons.h:84:63: error: 'size_t' has not been declared
wchar_t* Convert_multibyteUTF16_to_wchar(char* input_unicode, size_t glyph_length, bool skip_BOM);
^
AP_commons.h:85:65: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
AP_commons.h:85:86: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
In file included from AtomicParsley.cpp:39:0:
AtomicParsley.h:106:1: warning: 'typedef' was ignored in this declaration [enabled by default]
};
^
AtomicParsley.h:258:1: error: 'off_t' does not name a type
off_t findFileSize(const char *utf8_filepath);
^
AtomicParsley.h:259:1: error: 'FILE' does not name a type
FILE* APar_OpenFile(const char* utf8_filepath, const char* file_flags);
^
AtomicParsley.h:260:1: error: 'FILE' does not name a type
FILE* openSomeFile(const char* file, bool open);
^
AtomicParsley.h:262:50: error: 'FILE' has not been declared
uint32_t APar_ReadFile(char* destination_buffer, FILE* a_file, uint32_t bytes_to_read);
^
In file included from AtomicParsley.cpp:40:0:
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
};
^
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_AtomDefinitions.h:254:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AtomicParsley.cpp:62:1: error: 'FILE' does not name a type
FILE* source_file = NULL;
^
AtomicParsley.cpp:73:24: error: 'NULL' was not declared in this scope
AtomicInfo* hdlrAtom = NULL;
^
AtomicParsley.cpp:74:24: error: 'NULL' was not declared in this scope
AtomicInfo* udtaAtom = NULL;
^
AtomicParsley.cpp:104:82: error: 'calloc' was not declared in this scope
char* file_progress_buffer=(char*)calloc(1, sizeof(char)* (max_display_width+50) ); //+50 for any overflow in "%100", or "|"
^
AtomicParsley.cpp:108:58: error: 'malloc' was not declared in this scope
char* twenty_byte_buffer = (char *)malloc(sizeof(char)*20);
^
AtomicParsley.cpp: In function 'void ShowVersionInfo()':
AtomicParsley.cpp:146:11: error: 'stdout' was not declared in this scope
fprintf(stdout, "AtomicParsley from svn built on %s %s\n", __DATE__, unicode_enabled);
^
AtomicParsley.cpp:146:87: error: 'fprintf' was not declared in this scope
fprintf(stdout, "AtomicParsley from svn built on %s %s\n", __DATE__, unicode_enabled);
^
AtomicParsley.cpp:150:11: error: 'stdout' was not declared in this scope
fprintf(stdout, "AtomicParsley version: %s %s\n", AtomicParsley_version, unicode_enabled); //release version
^
AtomicParsley.cpp:150:91: error: 'fprintf' was not declared in this scope
fprintf(stdout, "AtomicParsley version: %s %s\n", AtomicParsley_version, unicode_enabled); //release version
^
AtomicParsley.cpp: At global scope:
AtomicParsley.cpp:180:1: error: 'off_t' does not name a type
off_t findFileSize(const char *utf8_filepath) {
^
AtomicParsley.cpp:209:1: error: 'FILE' does not name a type
FILE* APar_OpenFile(const char* utf8_filepath, const char* file_flags) {
^
AtomicParsley.cpp:241:1: error: 'FILE' does not name a type
FILE* openSomeFile(const char* utf8file, bool open) {
^
AtomicParsley.cpp: In function 'void TestFileExistence(const char*, bool)':
AtomicParsley.cpp:256:2: error: 'FILE' was not declared in this scope
FILE *a_file = NULL;
^
AtomicParsley.cpp:256:8: error: 'a_file' was not declared in this scope
FILE *a_file = NULL;
^
AtomicParsley.cpp:256:17: error: 'NULL' was not declared in this scope
FILE *a_file = NULL;
^
AtomicParsley.cpp:257:39: error: 'APar_OpenFile' was not declared in this scope
a_file = APar_OpenFile(filePath, "rb");
^
AtomicParsley.cpp:259:11: error: 'stderr' was not declared in this scope
fprintf(stderr, "AtomicParsley error: can't open %s for reading: %s\n", filePath, strerror(errno));
^
AtomicParsley.cpp:259:94: error: 'errno' was not declared in this scope
fprintf(stderr, "AtomicParsley error: can't open %s for reading: %s\n", filePath, strerror(errno));
^
AtomicParsley.cpp:259:99: error: 'strerror' was not declared in this scope
fprintf(stderr, "AtomicParsley error: can't open %s for reading: %s\n", filePath, strerror(errno));
^
AtomicParsley.cpp:259:100: error: 'fprintf' was not declared in this scope
fprintf(stderr, "AtomicParsley error: can't open %s for reading: %s\n", filePath, strerror(errno));
^
AtomicParsley.cpp:260:9: error: 'exit' was not declared in this scope
exit(1);
^
AtomicParsley.cpp:262:16: error: 'fclose' was not declared in this scope
fclose(a_file);
^
AtomicParsley.cpp: At global scope:
AtomicParsley.cpp:266:50: error: 'FILE' has not been declared
uint32_t APar_ReadFile(char* destination_buffer, FILE* a_file, uint32_t bytes_to_read) {
^
AtomicParsley.cpp: In function 'uint32_t APar_ReadFile(char*, int*, uint32_t)':
AtomicParsley.cpp:268:28: error: 'NULL' was not declared in this scope
if (destination_buffer != NULL) {
^
AtomicParsley.cpp:269:21: error: 'SEEK_SET' was not declared in this scope
fseeko(a_file, 0, SEEK_SET); // not that 2gb support is required - malloc would probably have a few issues
^
AtomicParsley.cpp:269:29: error: 'fseeko' was not declared in this scope
fseeko(a_file, 0, SEEK_SET); // not that 2gb support is required - malloc would probably have a few issues
^
AtomicParsley.cpp:270:56: error: 'size_t' was not declared in this scope
bytes_read = (uint32_t)fread(destination_buffer, 1, (size_t)bytes_to_read, a_file);
^
AtomicParsley.cpp:270:84: error: 'fread' was not declared in this scope
bytes_read = (uint32_t)fread(destination_buffer, 1, (size_t)bytes_to_read, a_file);
^
AtomicParsley.cpp: In function 'int APar_TestArtworkBinaryData(const char*)':
AtomicParsley.cpp:278:2: error: 'FILE' was not declared in this scope
FILE *artfile = APar_OpenFile(artworkPath, "rb");
^
AtomicParsley.cpp:278:8: error: 'artfile' was not declared in this scope
FILE *artfile = APar_OpenFile(artworkPath, "rb");
^
AtomicParsley.cpp:278:49: error: 'APar_OpenFile' was not declared in this scope
FILE *artfile = APar_OpenFile(artworkPath, "rb");
^
AtomicParsley.cpp:279:17: error: 'NULL' was not declared in this scope
if (artfile != NULL) {
^
AtomicParsley.cpp:281:25: error: 'memset' was not declared in this scope
memset(pic_data, 0, 10);
^
AtomicParsley.cpp:283:33: error: 'fread' was not declared in this scope
fread(&pic_data, 1, 8, artfile);
^
AtomicParsley.cpp:284:65: error: 'strncmp' was not declared in this scope
if ( strncmp(&*pic_data, "\x89\x50\x4E\x47\x0D\x0A\x1A\x0A", 8) == 0 ) {
^
AtomicParsley.cpp:286:106: error: 'memcmp' was not declared in this scope
} else if ( strncmp(&*pic_data, "\xFF\xD8\xFF\xE0", 4) == 0 || memcmp(&*pic_data, "\xFF\xD8\xFF\xE1", 4) == 0 ) {
^
AtomicParsley.cpp:289:12: error: 'stdout' was not declared in this scope
fprintf(stdout, "AtomicParsley error: %s\n\t image file is not jpg/png and cannot be embedded.\n", artworkPath);
^
AtomicParsley.cpp:289:114: error: 'fprintf' was not declared in this scope
fprintf(stdout, "AtomicParsley error: %s\n\t image file is not jpg/png and cannot be embedded.\n", artworkPath);
^
AtomicParsley.cpp:290:10: error: 'exit' was not declared in this scope
exit(1);
^
AtomicParsley.cpp:292:17: error: 'fclose' was not declared in this scope
fclose(artfile);
^
AtomicParsley.cpp:295:11: error: 'stdout' was not declared in this scope
fprintf(stdout, "AtomicParsley error: %s\n\t image file could not be opened.\n", artworkPath);
^
AtomicParsley.cpp:295:95: error: 'fprintf' was not declared in this scope
fprintf(stdout, "AtomicParsley error: %s\n\t image file could not be opened.\n", artworkPath);
^
AtomicParsley.cpp:296:9: error: 'exit' was not declared in this scope
exit(1);
^
AtomicParsley.cpp: In function 'char* extractAtomName(char*, int)':
AtomicParsley.cpp:339:47: error: 'memset' was not declared in this scope
memset(twenty_byte_buffer, 0, sizeof(char)*20);
^
AtomicParsley.cpp:340:60: error: 'memcpy' was not declared in this scope
memcpy(twenty_byte_buffer, fileData + name_position * 4, 4);
^
AtomicParsley.cpp: In function 'void APar_FreeMemory()':
AtomicParsley.cpp:347:39: error: 'NULL' was not declared in this scope
if (parsedAtoms[iter].AtomicData != NULL) {
^
AtomicParsley.cpp:348:37: error: 'free' was not declared in this scope
free(parsedAtoms[iter].AtomicData);
^
AtomicParsley.cpp:351:43: error: 'NULL' was not declared in this scope
if (parsedAtoms[iter].ReverseDNSname != NULL) {
^
AtomicParsley.cpp:352:41: error: 'free' was not declared in this scope
free(parsedAtoms[iter].ReverseDNSname);
^
AtomicParsley.cpp:355:45: error: 'NULL' was not declared in this scope
if (parsedAtoms[iter].uuid_ap_atomname != NULL) {
^
AtomicParsley.cpp:356:43: error: 'free' was not declared in this scope
free(parsedAtoms[iter].uuid_ap_atomname);
^
AtomicParsley.cpp:360:25: error: 'free' was not declared in this scope
free(twenty_byte_buffer);
^
AtomicParsley.cpp:361:21: error: 'NULL' was not declared in this scope
twenty_byte_buffer=NULL;
^
AtomicParsley.cpp: In function 'PicPrefs APar_ExtractPicPrefs(char*)':
AtomicParsley.cpp:389:25: error: 'NULL' was not declared in this scope
if (env_PicOptions == NULL) return myPicturePrefs;
^
AtomicParsley.cpp:392:48: error: 'memcmp' was not declared in this scope
if (memcmp(unparsed_opts,"MaxDimensions=",14) == 0) {
^
AtomicParsley.cpp:394:63: error: 'NULL' was not declared in this scope
myPicturePrefs.max_dimension = (int)strtol(unparsed_opts, NULL, 10);
^
AtomicParsley.cpp:394:71: error: 'strtol' was not declared in this scope
myPicturePrefs.max_dimension = (int)strtol(unparsed_opts, NULL, 10);
^
AtomicParsley.cpp:398:53: error: 'NULL' was not declared in this scope
myPicturePrefs.dpi = (int)strtol(unparsed_opts, NULL, 10);
^
AtomicParsley.cpp:398:61: error: 'strtol' was not declared in this scope
myPicturePrefs.dpi = (int)strtol(unparsed_opts, NULL, 10);
^
AtomicParsley.cpp:402:60: error: 'NULL' was not declared in this scope
myPicturePrefs.max_Kbytes = (int)strtol(unparsed_opts, NULL, 10)*1024;
^
AtomicParsley.cpp:402:68: error: 'strtol' was not declared in this scope
myPicturePrefs.max_Kbytes = (int)strtol(unparsed_opts, NULL, 10)*1024;
^
AtomicParsley.cpp:426:55: error: 'strncmp' was not declared in this scope
} else if (strncmp(unparsed_opts,"removeTempPix",13) == 0) {
^
AtomicParsley.cpp:436:57: error: 'NULL' was not declared in this scope
myPicturePrefs.force_height = strtol(unparsed_opts, NULL, 10);
^
AtomicParsley.cpp:436:65: error: 'strtol' was not declared in this scope
myPicturePrefs.force_height = strtol(unparsed_opts, NULL, 10);
^
AtomicParsley.cpp:440:56: error: 'NULL' was not declared in this scope
myPicturePrefs.force_width = strtol(unparsed_opts, NULL, 10);
^
AtomicParsley.cpp:440:64: error: 'strtol' was not declared in this scope
myPicturePrefs.force_width = strtol(unparsed_opts, NULL, 10);
^
AtomicParsley.cpp: In function 'void APar_TrackInfo(uint8_t&, uint8_t&, short int&)':
AtomicParsley.cpp:462:54: error: 'memcmp' was not declared in this scope
if ( memcmp(parsedAtoms[iter].AtomicName, "trak", 4) == 0 && parsedAtoms[iter].AtomicLevel == 2) {
^
AtomicParsley.cpp:472:62: error: 'strncmp' was not declared in this scope
if (strncmp(parsedAtoms[next_atom].AtomicName, "stsd", 4) == 0) {
^
AtomicParsley.cpp: In function 'uint32_t APar_ProvideTallyForAtom(char*)':
AtomicParsley.cpp:497:56: error: 'memcmp' was not declared in this scope
if (memcmp(parsedAtoms[iter].AtomicName, atom_name, 4) == 0) {
^
AtomicParsley.cpp: In function 'void APar_ProvideAtomPath(short int, char*&, bool)':
AtomicParsley.cpp:561:74: error: 'memcpy' was not declared in this scope
memcpy(atom_path + str_offset, parsedAtoms[preceding_atom].AtomicName, 4);
^
AtomicParsley.cpp: In function 'bool APar_Eval_ChunkOffsetImpact(short int)':
AtomicParsley.cpp:617:55: error: 'strncmp' was not declared in this scope
if ( strncmp(parsedAtoms[iter].AtomicName, "mdat", 4) == 0) {
^
AtomicParsley.cpp: In function 'AtomicInfo* APar_AtomicComparison(AtomicInfo*, short int, bool)':
AtomicParsley.cpp:719:28: error: 'NULL' was not declared in this scope
AtomicInfo* return_atom = NULL;
^
AtomicParsley.cpp:720:2: error: 'size_t' was not declared in this scope
size_t ATOM_TEST_LEN = (match_full_uuids ? 16 : 4);
^
AtomicParsley.cpp:720:9: error: expected ';' before 'ATOM_TEST_LEN'
size_t ATOM_TEST_LEN = (match_full_uuids ? 16 : 4);
^
AtomicParsley.cpp:723:80: error: 'memcmp' was not declared in this scope
if (memcmp(parsedAtoms[test_atom].uuid_ap_atomname, proto_atom->AtomicName, 4) == 0) {
^
AtomicParsley.cpp:729:73: error: 'ATOM_TEST_LEN' was not declared in this scope
if ( memcmp(proto_atom->AtomicName, parsedAtoms[test_atom].AtomicName, ATOM_TEST_LEN) == 0 &&
^
AtomicParsley.cpp:729:86: error: 'memcmp' was not declared in this scope
if ( memcmp(proto_atom->AtomicName, parsedAtoms[test_atom].AtomicName, ATOM_TEST_LEN) == 0 &&
^
AtomicParsley.cpp:741:11: error: expected ';' before 'proto_rdns_len'
size_t proto_rdns_len = strlen(proto_atom->ReverseDNSname) + 1;
^
AtomicParsley.cpp:742:11: error: expected ';' before 'test_rdns_len'
size_t test_rdns_len = strlen(parsedAtoms[test_atom].ReverseDNSname) + 1;
^
AtomicParsley.cpp:743:11: error: expected ';' before 'rdns_strlen'
size_t rdns_strlen = (proto_rdns_len > test_rdns_len? proto_rdns_len : test_rdns_len);
^
AtomicParsley.cpp:744:82: error: 'rdns_strlen' was not declared in this scope
if (memcmp(proto_atom->ReverseDNSname, parsedAtoms[test_atom].ReverseDNSname, rdns_strlen) == 0) {
^
AtomicParsley.cpp: In function 'short int APar_FindLastLikeNamedAtom(char*, short int)':
AtomicParsley.cpp:770:62: error: 'memcmp' was not declared in this scope
if (memcmp(parsedAtoms[eval_atom].AtomicName, atom_name, 4) == 0 &&
^
AtomicParsley.cpp: In function 'void APar_FreeSurrogateAtom(AtomicInfo*)':
AtomicParsley.cpp:781:40: error: 'NULL' was not declared in this scope
if (surrogate_atom->ReverseDNSname != NULL) {
^
AtomicParsley.cpp:782:38: error: 'free' was not declared in this scope
free(surrogate_atom->ReverseDNSname);
^
AtomicParsley.cpp: In function 'void APar_CreateSurrogateAtom(AtomicInfo*, const char*, uint8_t, uint8_t, uint16_t, char*, uint8_t)':
AtomicParsley.cpp:800:21: error: 'NULL' was not declared in this scope
if (revdns_name != NULL && revdns_name_len) {
^
AtomicParsley.cpp:801:107: error: 'malloc' was not declared in this scope
surrogate_atom->ReverseDNSname = (char *)malloc(sizeof(char)*revdns_name_len > 8 ? revdns_name_len+1 : 9);
^
AtomicParsley.cpp:802:101: error: 'memset' was not declared in this scope
memset(surrogate_atom->ReverseDNSname, 0, sizeof(char)*revdns_name_len > 8 ? revdns_name_len+1 : 9);
^
AtomicParsley.cpp:803:70: error: 'memcpy' was not declared in this scope
memcpy(surrogate_atom->ReverseDNSname, revdns_name, revdns_name_len);
^
AtomicParsley.cpp: In function 'AtomicInfo* APar_FindAtom(const char*, bool, uint8_t, uint16_t, bool)':
AtomicParsley.cpp:841:25: error: 'NULL' was not declared in this scope
AtomicInfo* thisAtom = NULL;
^
AtomicParsley.cpp:861:72: error: 'memcmp' was not declared in this scope
if (atom_type == EXTENDED_ATOM && memcmp(search_atom_name, "uuid=", 5) == 0 ) {
^
AtomicParsley.cpp:870:3: error: 'size_t' was not declared in this scope
size_t portion_len = strlen(search_atom_name);
^
AtomicParsley.cpp:870:10: error: expected ';' before 'portion_len'
size_t portion_len = strlen(search_atom_name);
^
AtomicParsley.cpp:871:41: error: 'memcmp' was not declared in this scope
if (memcmp(search_atom_name+4, ":[", 2) == 0 && memcmp(search_atom_name + portion_len -1, "]", 1) == 0) {
^
AtomicParsley.cpp:871:77: error: 'portion_len' was not declared in this scope
if (memcmp(search_atom_name+4, ":[", 2) == 0 && memcmp(search_atom_name + portion_len -1, "]", 1) == 0) {
^
AtomicParsley.cpp:877:53: error: 'sscanf' was not declared in this scope
sscanf(search_atom_name+5, "%hhu", &desired_index);
^
AtomicParsley.cpp:884:30: error: 'strlen' was not declared in this scope
if (strlen(search_atom_name) == 4) {
^
AtomicParsley.cpp:946:33: error: 'strlen' was not declared in this scope
if (strlen(search_atom_name) >= 4) {
^
AtomicParsley.cpp:967:47: error: 'memcmp' was not declared in this scope
} else if (memcmp(search_atom_name, ".", 1) == 0 ) {
^
AtomicParsley.cpp: In function 'void APar_AtomicRead(short int)':
AtomicParsley.cpp:988:74: error: 'size_t' was not declared in this scope
parsedAtoms[this_atom_number].AtomicData = (char*)malloc(sizeof(char)* (size_t)(parsedAtoms[this_atom_number].AtomicLength) );
^
AtomicParsley.cpp:988:126: error: 'malloc' was not declared in this scope
parsedAtoms[this_atom_number].AtomicData = (char*)malloc(sizeof(char)* (size_t)(parsedAtoms[this_atom_number].AtomicLength) );
^
AtomicParsley.cpp:989:121: error: 'memset' was not declared in this scope
memset(parsedAtoms[this_atom_number].AtomicData, 0, sizeof(char)* (size_t)(parsedAtoms[this_atom_number].AtomicLength) );
^
AtomicParsley.cpp:991:9: error: 'source_file' was not declared in this scope
fseeko(source_file, parsedAtoms[this_atom_number].AtomicStart+12, SEEK_SET);
^
AtomicParsley.cpp:991:68: error: 'SEEK_SET' was not declared in this scope
fseeko(source_file, parsedAtoms[this_atom_number].AtomicStart+12, SEEK_SET);
^
AtomicParsley.cpp:991:76: error: 'fseeko' was not declared in this scope
fseeko(source_file, parsedAtoms[this_atom_number].AtomicStart+12, SEEK_SET);
^
AtomicParsley.cpp:992:111: error: 'fread' was not declared in this scope
fread(parsedAtoms[this_atom_number].AtomicData, 1, parsedAtoms[this_atom_number].AtomicLength-12, source_file);
^
AtomicParsley.cpp: In function 'void APar_fprintf_UTF8_data(char*)':
AtomicParsley.cpp:1040:10: error: 'stdout' was not declared in this scope
fprintf(stdout, "%s", utf8_encoded_data);
^
AtomicParsley.cpp:1040:41: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%s", utf8_encoded_data);
^
AtomicParsley.cpp: In function 'void APar_PrintUnicodeAssest(char*, int)':
AtomicParsley.cpp:1046:42: error: 'memcmp' was not declared in this scope
if (memcmp(unicode_string, "\xFE\xFF", 2) == 0 ) { //utf16
^
AtomicParsley.cpp:1047:11: error: 'stdout' was not declared in this scope
fprintf(stdout, " (utf16)] : ");
^
AtomicParsley.cpp:1047:33: error: 'fprintf' was not declared in this scope
fprintf(stdout, " (utf16)] : ");
^
AtomicParsley.cpp:1069:17: error: 'free' was not declared in this scope
free(utf8_data);
^
AtomicParsley.cpp:1070:15: error: 'NULL' was not declared in this scope
utf8_data = NULL;
^
AtomicParsley.cpp:1074:11: error: 'stdout' was not declared in this scope
fprintf(stdout, " (utf8)] : ");
^
AtomicParsley.cpp:1074:32: error: 'fprintf' was not declared in this scope
fprintf(stdout, " (utf8)] : ");
^
AtomicParsley.cpp: In function 'void APar_SimplePrintUnicodeAssest(char*, int, bool)':
AtomicParsley.cpp:1088:42: error: 'memcmp' was not declared in this scope
if (memcmp(unicode_string, "\xFE\xFF", 2) == 0 ) { //utf16
^
AtomicParsley.cpp:1090:12: error: 'stdout' was not declared in this scope
fprintf(stdout, " (utf16): ");
^
AtomicParsley.cpp:1090:32: error: 'fprintf' was not declared in this scope
fprintf(stdout, " (utf16): ");
^
AtomicParsley.cpp:1111:11: error: 'stdout' was not declared in this scope
fprintf(stdout, "%s", utf8_data);
^
AtomicParsley.cpp:1111:34: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%s", utf8_data);
^
AtomicParsley.cpp:1113:17: error: 'free' was not declared in this scope
free(utf8_data);
^
AtomicParsley.cpp:1114:15: error: 'NULL' was not declared in this scope
utf8_data = NULL;
^
AtomicParsley.cpp:1119:12: error: 'stdout' was not declared in this scope
fprintf(stdout, " (utf8): ");
^
AtomicParsley.cpp:1119:31: error: 'fprintf' was not declared in this scope
fprintf(stdout, " (utf8): ");
^
AtomicParsley.cpp: In function 'void APar_print_ISO_UserData_per_track()':
AtomicParsley.cpp:1140:30: error: 'NULL' was not declared in this scope
AtomicInfo* trak_udtaAtom = NULL;
^
AtomicParsley.cpp:1146:32: error: 'memset' was not declared in this scope
memset(&iso_atom_path, 0, 400);
^
AtomicParsley.cpp:1147:49: error: 'sprintf' was not declared in this scope
sprintf(iso_atom_path, "moov.trak[%u].udta", i);
^
AtomicParsley.cpp:1151:11: error: 'stdout' was not declared in this scope
fprintf(stdout, "Track %i:\n", i);
^
AtomicParsley.cpp:1151:35: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Track %i:\n", i);
^
AtomicParsley.cpp:1162:59: error: 'malloc' was not declared in this scope
char* box_data = (char*)malloc(sizeof(char)*box_length);
^
AtomicParsley.cpp:1165:62: error: 'memcmp' was not declared in this scope
if (memcmp(parsedAtoms[a_trak_atom].AtomicName, "cprt", 4) == 0) {
^
AtomicParsley.cpp:1171:56: error: 'source_file' was not declared in this scope
uint16_t packed_lang = APar_read16(bitpacked_lang, source_file, parsedAtoms[a_trak_atom].AtomicStart + 12);
^
AtomicParsley.cpp:1179:18: error: 'free' was not declared in this scope
free(box_data);
^
AtomicParsley.cpp: In function 'void APar_PrintUserDataAssests()':
AtomicParsley.cpp:1204:18: error: 'NULL' was not declared in this scope
if (udtaAtom == NULL) return;
^
AtomicParsley.cpp:1215:31: error: 'memset' was not declared in this scope
memset(bitpacked_lang, 0, 3);
^
AtomicParsley.cpp:1219:58: error: 'malloc' was not declared in this scope
char* box_data = (char*)malloc(sizeof(char)*box_length);
^
AtomicParsley.cpp:1231:14: error: 'stdout' was not declared in this scope
fprintf(stdout, "User data \"%s\" ", parsedAtoms[i].AtomicName);
^
AtomicParsley.cpp:1231:68: error: 'fprintf' was not declared in this scope
fprintf(stdout, "User data \"%s\" ", parsedAtoms[i].AtomicName);
^
AtomicParsley.cpp:1233:57: error: 'source_file' was not declared in this scope
uint16_t packed_lang = APar_read16(bitpacked_lang, source_file, parsedAtoms[i].AtomicStart + 12);
^
AtomicParsley.cpp:1260:14: error: 'stdout' was not declared in this scope
fprintf(stdout, "User data \"%s\" ", parsedAtoms[i].AtomicName);
^
AtomicParsley.cpp:1260:68: error: 'fprintf' was not declared in this scope
fprintf(stdout, "User data \"%s\" ", parsedAtoms[i].AtomicName);
^
AtomicParsley.cpp:1262:27: error: 'source_file' was not declared in this scope
APar_readX(box_data, source_file, parsedAtoms[i].AtomicStart + 12, 4);
^
AtomicParsley.cpp:1284:14: error: 'stdout' was not declared in this scope
fprintf(stdout, "User data \"%s\" ", parsedAtoms[i].AtomicName);
^
AtomicParsley.cpp:1284:68: error: 'fprintf' was not declared in this scope
fprintf(stdout, "User data \"%s\" ", parsedAtoms[i].AtomicName);
^
AtomicParsley.cpp:1286:27: error: 'source_file' was not declared in this scope
APar_readX(box_data, source_file, parsedAtoms[i].AtomicStart + 12, box_length-12); //4bytes length, 4 bytes name, 4 bytes flags, 2 bytes lang
^
AtomicParsley.cpp:1302:14: error: 'stdout' was not declared in this scope
fprintf(stdout, "User data \"%s\" ", parsedAtoms[i].AtomicName);
^
AtomicParsley.cpp:1302:68: error: 'fprintf' was not declared in this scope
fprintf(stdout, "User data \"%s\" ", parsedAtoms[i].AtomicName);
^
AtomicParsley.cpp:1306:57: error: 'source_file' was not declared in this scope
uint16_t packed_lang = APar_read16(bitpacked_lang, source_file, parsedAtoms[i].AtomicStart + box_offset);
^
AtomicParsley.cpp:1311:93: error: 'APar_read8' cannot be used as a function
uint8_t keyword_count = APar_read8(source_file, parsedAtoms[i].AtomicStart + box_offset);
^
AtomicParsley.cpp:1320:95: error: 'APar_read8' cannot be used as a function
uint8_t keyword_length = APar_read8(source_file, parsedAtoms[i].AtomicStart + box_offset);
^
AtomicParsley.cpp:1327:23: error: 'free' was not declared in this scope
free(keyword_data);
^
AtomicParsley.cpp:1328:21: error: 'NULL' was not declared in this scope
keyword_data = NULL;
^
AtomicParsley.cpp:1336:14: error: 'stdout' was not declared in this scope
fprintf(stdout, "User data \"%s\" ", parsedAtoms[i].AtomicName);
^
AtomicParsley.cpp:1336:68: error: 'fprintf' was not declared in this scope
fprintf(stdout, "User data \"%s\" ", parsedAtoms[i].AtomicName);
^
AtomicParsley.cpp:1339:57: error: 'source_file' was not declared in this scope
uint16_t packed_lang = APar_read16(bitpacked_lang, source_file, parsedAtoms[i].AtomicStart + box_offset);
^
AtomicParsley.cpp:1349:41: error: 'memcmp' was not declared in this scope
if ( memcmp(box_data, "\xFE\xFF", 2) == 0 ) {
^
AtomicParsley.cpp:1355:35: error: 'strlen' was not declared in this scope
box_offset+= strlen(box_data) + 1; //+1 for the terminating NULL
^
AtomicParsley.cpp:1360:93: error: 'APar_read8' cannot be used as a function
uint8_t location_role = APar_read8(source_file, parsedAtoms[i].AtomicStart + box_offset);
^
AtomicParsley.cpp:1390:23: error: 'free' was not declared in this scope
free(float_buffer);
^
AtomicParsley.cpp:1391:21: error: 'NULL' was not declared in this scope
float_buffer = NULL;
^
AtomicParsley.cpp:1396:56: error: 'memcmp' was not declared in this scope
if ( memcmp(box_data+box_offset-14, "\xFE\xFF", 2) == 0 ) {
^
AtomicParsley.cpp:1400:50: error: 'strlen' was not declared in this scope
box_offset+= strlen(box_data+box_offset-14) + 1; //+1 for the terminating NULL
^
AtomicParsley.cpp:1416:14: error: 'stdout' was not declared in this scope
fprintf(stdout, "User data \"%s\" ", parsedAtoms[i].AtomicName);
^
AtomicParsley.cpp:1416:68: error: 'fprintf' was not declared in this scope
fprintf(stdout, "User data \"%s\" ", parsedAtoms[i].AtomicName);
^
AtomicParsley.cpp:1418:60: error: 'source_file' was not declared in this scope
uint16_t recording_year = APar_read16(bitpacked_lang, source_file, parsedAtoms[i].AtomicStart + 12);
^
AtomicParsley.cpp:1428:17: error: 'free' was not declared in this scope
free(box_data);
^
AtomicParsley.cpp:1429:15: error: 'NULL' was not declared in this scope
box_data = NULL;
^
AtomicParsley.cpp: In function 'void APar_Extract_uuid_binary_file(AtomicInfo*, const char*, char*)':
AtomicParsley.cpp:1448:53: error: 'MAXPATHLEN' was not declared in this scope
char* uuid_outfile = (char*)calloc(1, sizeof(char)*MAXPATHLEN+1); //malloc a new string because it may be a cli arg for a specific output path
^
AtomicParsley.cpp:1448:65: error: 'calloc' was not declared in this scope
char* uuid_outfile = (char*)calloc(1, sizeof(char)*MAXPATHLEN+1); //malloc a new string because it may be a cli arg for a specific output path
^
AtomicParsley.cpp:1449:21: error: 'NULL' was not declared in this scope
if (output_path == NULL) {
^
AtomicParsley.cpp:1450:52: error: 'strrchr' was not declared in this scope
char* orig_suffix = strrchr(originating_file, '.');
^
AtomicParsley.cpp:1452:12: error: 'stdout' was not declared in this scope
fprintf(stdout, "AP warning: a file extension for the input file was not found.\n\tGlobbing onto original filename...\n");
^
AtomicParsley.cpp:1452:124: error: 'fprintf' was not declared in this scope
fprintf(stdout, "AP warning: a file extension for the input file was not found.\n\tGlobbing onto original filename...\n");
^
AtomicParsley.cpp:1453:38: error: 'strlen' was not declared in this scope
path_len = strlen(originating_file);
^
AtomicParsley.cpp:1454:51: error: 'memcpy' was not declared in this scope
memcpy(uuid_outfile, originating_file, path_len);
^
AtomicParsley.cpp:1457:51: error: 'memcpy' was not declared in this scope
memcpy(uuid_outfile, originating_file, path_len);
^
AtomicParsley.cpp:1461:32: error: 'strlen' was not declared in this scope
path_len = strlen(output_path);
^
AtomicParsley.cpp:1462:45: error: 'memcpy' was not declared in this scope
memcpy(uuid_outfile, output_path, path_len);
^
AtomicParsley.cpp:1466:9: error: 'source_file' was not declared in this scope
fseeko(source_file, uuid_atom->AtomicStart + 36, SEEK_SET);
^
AtomicParsley.cpp:1466:51: error: 'SEEK_SET' was not declared in this scope
fseeko(source_file, uuid_atom->AtomicStart + 36, SEEK_SET);
^
AtomicParsley.cpp:1466:59: error: 'fseeko' was not declared in this scope
fseeko(source_file, uuid_atom->AtomicStart + 36, SEEK_SET);
^
AtomicParsley.cpp:1467:66: error: 'fread' was not declared in this scope
fread(uuid_payload, 1, uuid_atom->AtomicLength - 36, source_file);
^
AtomicParsley.cpp:1474:61: error: 'memcpy' was not declared in this scope
memcpy(file_suffix, uuid_payload+atom_offsets+1, suffix_len);
^
AtomicParsley.cpp:1483:87: error: 'sprintf' was not declared in this scope
sprintf(uuid_outfile+path_len, "-%s-uuid%s", uuid_atom->uuid_ap_atomname, file_suffix);
^
AtomicParsley.cpp:1485:2: error: 'FILE' was not declared in this scope
FILE *outfile = APar_OpenFile(uuid_outfile, "wb");
^
AtomicParsley.cpp:1485:8: error: 'outfile' was not declared in this scope
FILE *outfile = APar_OpenFile(uuid_outfile, "wb");
^
AtomicParsley.cpp:1485:50: error: 'APar_OpenFile' was not declared in this scope
FILE *outfile = APar_OpenFile(uuid_outfile, "wb");
^
AtomicParsley.cpp:1486:17: error: 'NULL' was not declared in this scope
if (outfile != NULL) {
^
AtomicParsley.cpp:1487:38: error: 'size_t' was not declared in this scope
fwrite(uuid_payload+atom_offsets, (size_t)bin_len, 1, outfile);
^
AtomicParsley.cpp:1487:64: error: 'fwrite' was not declared in this scope
fwrite(uuid_payload+atom_offsets, (size_t)bin_len, 1, outfile);
^
AtomicParsley.cpp:1488:17: error: 'fclose' was not declared in this scope
fclose(outfile);
^
AtomicParsley.cpp:1489:11: error: 'stdout' was not declared in this scope
fprintf(stdout, "Extracted uuid=%s attachment (mime-type=%s) to file: ", uuid_atom->uuid_ap_atomname, uuid_payload+mimetype_string);
^
AtomicParsley.cpp:1489:133: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Extracted uuid=%s attachment (mime-type=%s) to file: ", uuid_atom->uuid_ap_atomname, uuid_payload+mimetype_string);
^
AtomicParsley.cpp:1494:19: error: 'free' was not declared in this scope
free(uuid_payload); uuid_payload = NULL;
^
AtomicParsley.cpp:1494:37: error: 'NULL' was not declared in this scope
free(uuid_payload); uuid_payload = NULL;
^
AtomicParsley.cpp: In function 'void APar_ExtractAAC_Artwork(short int, char*, short int)':
AtomicParsley.cpp:1501:49: error: 'MAXPATHLEN' was not declared in this scope
char *base_outpath=(char *)malloc(sizeof(char)*MAXPATHLEN+1);
^
AtomicParsley.cpp:1501:61: error: 'malloc' was not declared in this scope
char *base_outpath=(char *)malloc(sizeof(char)*MAXPATHLEN+1);
^
AtomicParsley.cpp:1502:39: error: 'memset' was not declared in this scope
memset(base_outpath, 0, MAXPATHLEN +1);
^
AtomicParsley.cpp:1504:38: error: 'strcpy' was not declared in this scope
strcpy(base_outpath, pic_output_path);
^
AtomicParsley.cpp:1505:33: error: 'strcat' was not declared in this scope
strcat(base_outpath, "_artwork");
^
AtomicParsley.cpp:1506:60: error: 'sprintf' was not declared in this scope
sprintf(base_outpath, "%s_%d", base_outpath, artwork_count);
^
AtomicParsley.cpp:1511:9: error: 'source_file' was not declared in this scope
fseeko(source_file, parsedAtoms[this_atom_num].AtomicStart+16, SEEK_SET);
^
AtomicParsley.cpp:1511:65: error: 'SEEK_SET' was not declared in this scope
fseeko(source_file, parsedAtoms[this_atom_num].AtomicStart+16, SEEK_SET);
^
AtomicParsley.cpp:1511:73: error: 'fseeko' was not declared in this scope
fseeko(source_file, parsedAtoms[this_atom_num].AtomicStart+16, SEEK_SET);
^
AtomicParsley.cpp:1512:79: error: 'fread' was not declared in this scope
fread(art_payload, 1, parsedAtoms[this_atom_num].AtomicLength-16, source_file);
^
AtomicParsley.cpp:1517:63: error: 'memcmp' was not declared in this scope
if (memcmp(art_payload, "\x89\x50\x4E\x47\x0D\x0A\x1A\x0A", 8) == 0) {
^
AtomicParsley.cpp:1518:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
suffix = ".png";
^
AtomicParsley.cpp:1520:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
suffix = ".jpg";
^
AtomicParsley.cpp:1525:2: error: 'FILE' was not declared in this scope
FILE *outfile = APar_OpenFile(base_outpath, "wb");
^
AtomicParsley.cpp:1525:8: error: 'outfile' was not declared in this scope
FILE *outfile = APar_OpenFile(base_outpath, "wb");
^
AtomicParsley.cpp:1525:50: error: 'APar_OpenFile' was not declared in this scope
FILE *outfile = APar_OpenFile(base_outpath, "wb");
^
AtomicParsley.cpp:1526:17: error: 'NULL' was not declared in this scope
if (outfile != NULL) {
^
AtomicParsley.cpp:1527:24: error: 'size_t' was not declared in this scope
fwrite(art_payload, (size_t)(parsedAtoms[this_atom_num].AtomicLength-16), 1, outfile);
^
AtomicParsley.cpp:1527:87: error: 'fwrite' was not declared in this scope
fwrite(art_payload, (size_t)(parsedAtoms[this_atom_num].AtomicLength-16), 1, outfile);
^
AtomicParsley.cpp:1528:17: error: 'fclose' was not declared in this scope
fclose(outfile);
^
AtomicParsley.cpp:1529:11: error: 'stdout' was not declared in this scope
fprintf(stdout, "Extracted artwork to file: ");
^
AtomicParsley.cpp:1529:48: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Extracted artwork to file: ");
^
AtomicParsley.cpp:1533:19: error: 'free' was not declared in this scope
free(base_outpath);
^
AtomicParsley.cpp: In function 'void APar_ExtractDataAtom(int)':
AtomicParsley.cpp:1539:7: error: 'source_file' was not declared in this scope
if ( source_file != NULL ) {
^
AtomicParsley.cpp:1539:22: error: 'NULL' was not declared in this scope
if ( source_file != NULL ) {
^
AtomicParsley.cpp:1560:102: error: 'malloc' was not declared in this scope
char* data_payload = (char*)malloc( sizeof(char) * (thisAtom->AtomicLength - atom_header_size +1) );
^
AtomicParsley.cpp:1561:90: error: 'memset' was not declared in this scope
memset(data_payload, 0, sizeof(char) * (thisAtom->AtomicLength - atom_header_size +1) );
^
AtomicParsley.cpp:1563:66: error: 'SEEK_SET' was not declared in this scope
fseeko(source_file, thisAtom->AtomicStart + atom_header_size, SEEK_SET);
^
AtomicParsley.cpp:1563:74: error: 'fseeko' was not declared in this scope
fseeko(source_file, thisAtom->AtomicStart + atom_header_size, SEEK_SET);
^
AtomicParsley.cpp:1564:81: error: 'fread' was not declared in this scope
fread(data_payload, 1, thisAtom->AtomicLength - atom_header_size, source_file);
^
AtomicParsley.cpp:1573:13: error: 'stdout' was not declared in this scope
fprintf(stdout,"\n");
^
AtomicParsley.cpp:1573:24: error: 'fprintf' was not declared in this scope
fprintf(stdout,"\n");
^
AtomicParsley.cpp:1576:45: error: 'memcmp' was not declared in this scope
if ( (memcmp(parent_atom_name, "trkn", 4) == 0) || (memcmp(parent_atom_name, "disk", 4) == 0) ) {
^
AtomicParsley.cpp:1578:15: error: 'stdout' was not declared in this scope
fprintf(stdout, "%hu of %hu\n", UInt16FromBigEndian(data_payload+2), UInt16FromBigEndian(data_payload+4) );
^
AtomicParsley.cpp:1578:112: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%hu of %hu\n", UInt16FromBigEndian(data_payload+2), UInt16FromBigEndian(data_payload+4) );
^
AtomicParsley.cpp:1580:15: error: 'stdout' was not declared in this scope
fprintf(stdout, "%hu\n", UInt16FromBigEndian(data_payload+2) );
^
AtomicParsley.cpp:1580:68: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%hu\n", UInt16FromBigEndian(data_payload+2) );
^
AtomicParsley.cpp:1583:51: error: 'strncmp' was not declared in this scope
} else if (strncmp(parent_atom_name, "gnre", 4) == 0) {
^
AtomicParsley.cpp:1587:16: error: 'stdout' was not declared in this scope
fprintf(stdout,"%s\n", genre_string);
^
AtomicParsley.cpp:1587:43: error: 'fprintf' was not declared in this scope
fprintf(stdout,"%s\n", genre_string);
^
AtomicParsley.cpp:1589:16: error: 'stdout' was not declared in this scope
fprintf(stdout," out of bound value - %hu\n", UInt16FromBigEndian(data_payload) );
^
AtomicParsley.cpp:1589:88: error: 'fprintf' was not declared in this scope
fprintf(stdout," out of bound value - %hu\n", UInt16FromBigEndian(data_payload) );
^
AtomicParsley.cpp:1592:15: error: 'stdout' was not declared in this scope
fprintf(stdout," out of bound value - %hu\n", UInt16FromBigEndian(data_payload) );
^
AtomicParsley.cpp:1592:87: error: 'fprintf' was not declared in this scope
fprintf(stdout," out of bound value - %hu\n", UInt16FromBigEndian(data_payload) );
^
AtomicParsley.cpp:1596:14: error: 'stdout' was not declared in this scope
fprintf(stdout,"%s\n", data_payload);
^
AtomicParsley.cpp:1596:41: error: 'fprintf' was not declared in this scope
fprintf(stdout,"%s\n", data_payload);
^
AtomicParsley.cpp:1606:19: error: 'stdout' was not declared in this scope
fprintf(stdout, "true\n");
^
AtomicParsley.cpp:1606:35: error: 'fprintf' was not declared in this scope
fprintf(stdout, "true\n");
^
AtomicParsley.cpp:1608:19: error: 'stdout' was not declared in this scope
fprintf(stdout, "false\n");
^
AtomicParsley.cpp:1608:36: error: 'fprintf' was not declared in this scope
fprintf(stdout, "false\n");
^
AtomicParsley.cpp:1614:19: error: 'stdout' was not declared in this scope
fprintf(stdout, "%s\n", returned_stik->stik_string);
^
AtomicParsley.cpp:1614:61: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%s\n", returned_stik->stik_string);
^
AtomicParsley.cpp:1616:19: error: 'stdout' was not declared in this scope
fprintf(stdout, "Unknown value: %hhu\n", (uint8_t)data_payload[0]);
^
AtomicParsley.cpp:1616:76: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Unknown value: %hhu\n", (uint8_t)data_payload[0]);
^
AtomicParsley.cpp:1621:19: error: 'stdout' was not declared in this scope
fprintf(stdout, "Clean Content\n");
^
AtomicParsley.cpp:1621:44: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Clean Content\n");
^
AtomicParsley.cpp:1623:19: error: 'stdout' was not declared in this scope
fprintf(stdout, "Explicit Content\n");
^
AtomicParsley.cpp:1623:47: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Explicit Content\n");
^
AtomicParsley.cpp:1625:19: error: 'stdout' was not declared in this scope
fprintf(stdout, "Inoffensive\n");
^
AtomicParsley.cpp:1625:42: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Inoffensive\n");
^
AtomicParsley.cpp:1629:18: error: 'stdout' was not declared in this scope
fprintf(stdout, "%hhu\n", data_payload[0] );
^
AtomicParsley.cpp:1629:52: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%hhu\n", data_payload[0] );
^
AtomicParsley.cpp:1634:17: error: 'stdout' was not declared in this scope
fprintf(stdout, "%hu\n", UInt16FromBigEndian(data_payload) );
^
AtomicParsley.cpp:1634:68: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%hu\n", UInt16FromBigEndian(data_payload) );
^
AtomicParsley.cpp:1641:19: error: 'stdout' was not declared in this scope
fprintf(stdout, "%s (%u)\n", this_store->storefront_string, this_store->storefront_number );
^
AtomicParsley.cpp:1641:101: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%s (%u)\n", this_store->storefront_string, this_store->storefront_number );
^
AtomicParsley.cpp:1643:19: error: 'stdout' was not declared in this scope
fprintf(stdout, "Unknown (%u)\n", UInt32FromBigEndian(data_payload) );
^
AtomicParsley.cpp:1643:79: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Unknown (%u)\n", UInt32FromBigEndian(data_payload) );
^
AtomicParsley.cpp:1647:18: error: 'stdout' was not declared in this scope
fprintf(stdout, "%u\n", UInt32FromBigEndian(data_payload) );
^
AtomicParsley.cpp:1647:68: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%u\n", UInt32FromBigEndian(data_payload) );
^
AtomicParsley.cpp:1652:17: error: 'stdout' was not declared in this scope
fprintf(stdout, "%llu\n", UInt64FromBigEndian(data_payload) );
^
AtomicParsley.cpp:1652:69: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%llu\n", UInt64FromBigEndian(data_payload) );
^
AtomicParsley.cpp:1664:79: error: 'calloc' was not declared in this scope
char* uuid_description = (char*)calloc(1, sizeof(char) * descrip_len+16 ); //char uuid_description[descrip_len+1];
^
AtomicParsley.cpp:1665:78: error: 'memcpy' was not declared in this scope
memcpy(uuid_description, data_payload+offset_into_uuiddata, descrip_len);
^
AtomicParsley.cpp:1681:15: error: 'stdout' was not declared in this scope
fprintf(stdout, "FILE%s; mime-type=%s; description=%s\n", file_suffix, uuid_mimetype, uuid_description);
^
AtomicParsley.cpp:1681:109: error: 'fprintf' was not declared in this scope
fprintf(stdout, "FILE%s; mime-type=%s; description=%s\n", file_suffix, uuid_mimetype, uuid_description);
^
AtomicParsley.cpp:1683:28: error: 'free' was not declared in this scope
free(uuid_description);
^
AtomicParsley.cpp:1691:15: error: 'stdout' was not declared in this scope
fprintf(stdout, "hex 0x");
^
AtomicParsley.cpp:1691:31: error: 'fprintf' was not declared in this scope
fprintf(stdout, "hex 0x");
^
AtomicParsley.cpp:1707:22: error: 'free' was not declared in this scope
free(data_payload);
^
AtomicParsley.cpp: In function 'void APar_PrintDataAtoms(const char*, char*, uint8_t, uint8_t)':
AtomicParsley.cpp:1730:47: error: 'strncmp' was not declared in this scope
if ( strncmp(thisAtom->AtomicName, "data", 4) == 0) { //thisAtom->AtomicClassification == VERSIONED_ATOM) {
^
AtomicParsley.cpp:1738:55: error: 'memcmp' was not declared in this scope
if (memcmp(parsedAtoms[i-1].AtomicName, "name", 4) == 0) {
^
AtomicParsley.cpp:1739:15: error: 'stdout' was not declared in this scope
fprintf(stdout, "Atom \"%s\" [%s] contains: ", parent->AtomicName, parsedAtoms[i-1].ReverseDNSname);
^
AtomicParsley.cpp:1739:105: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Atom \"%s\" [%s] contains: ", parent->AtomicName, parsedAtoms[i-1].ReverseDNSname);
^
AtomicParsley.cpp:1743:52: error: 'memcmp' was not declared in this scope
} else if (memcmp(parent->AtomicName, "covr", 4) == 0) { //libmp4v2 doesn't properly set artwork with the right flags (its all 0x00)
^
AtomicParsley.cpp:1748:51: error: 'memset' was not declared in this scope
memset(twenty_byte_buffer, 0, sizeof(char)*20);
^
AtomicParsley.cpp:1752:15: error: 'stdout' was not declared in this scope
fprintf(stdout, "Atom \"");
^
AtomicParsley.cpp:1752:32: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Atom \"");
^
AtomicParsley.cpp:1756:15: error: 'stdout' was not declared in this scope
fprintf(stdout, "Atom \"%s\" contains: ", twenty_byte_buffer);
^
AtomicParsley.cpp:1756:67: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Atom \"%s\" contains: ", twenty_byte_buffer);
^
AtomicParsley.cpp:1762:51: error: 'memcmp' was not declared in this scope
} else if (memcmp(parent->AtomicName, "covr", 4) == 0) {
^
AtomicParsley.cpp:1769:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "\n"); // (corrupted atom); libmp4v2 touching a file with copyright
^
AtomicParsley.cpp:1769:25: error: 'fprintf' was not declared in this scope
fprintf(stdout, "\n"); // (corrupted atom); libmp4v2 touching a file with copyright
^
AtomicParsley.cpp:1772:49: error: 'memset' was not declared in this scope
memset(twenty_byte_buffer, 0, sizeof(char)*20);
^
AtomicParsley.cpp:1779:14: error: 'stdout' was not declared in this scope
fprintf(stdout, "Atom uuid=\"");
^
AtomicParsley.cpp:1779:36: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Atom uuid=\"");
^
AtomicParsley.cpp:1783:14: error: 'stdout' was not declared in this scope
fprintf(stdout, "Atom uuid=\"%s\" contains: ", twenty_byte_buffer);
^
AtomicParsley.cpp:1783:71: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Atom uuid=\"%s\" contains: ", twenty_byte_buffer);
^
AtomicParsley.cpp:1790:50: error: 'memset' was not declared in this scope
memset(twenty_byte_buffer, 0, sizeof(char)*20);
^
AtomicParsley.cpp:1794:14: error: 'stdout' was not declared in this scope
fprintf(stdout, "Atom uuid=");
^
AtomicParsley.cpp:1794:34: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Atom uuid=");
^
AtomicParsley.cpp:1812:12: error: 'stdout' was not declared in this scope
fprintf(stdout, "Atom \"covr\" contains: %i piece of artwork\n", artwork_count);
^
AtomicParsley.cpp:1812:82: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Atom \"covr\" contains: %i piece of artwork\n", artwork_count);
^
AtomicParsley.cpp:1814:12: error: 'stdout' was not declared in this scope
fprintf(stdout, "Atom \"covr\" contains: %i pieces of artwork\n", artwork_count);
^
AtomicParsley.cpp:1814:83: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Atom \"covr\" contains: %i pieces of artwork\n", artwork_count);
^
AtomicParsley.cpp:1819:11: error: 'stdout' was not declared in this scope
fprintf(stdout, "---------------------------\n");
^
AtomicParsley.cpp:1819:50: error: 'fprintf' was not declared in this scope
fprintf(stdout, "---------------------------\n");
^
AtomicParsley.cpp:1825:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
fprintf(stdout, "free atom space: %u\n", APar_ProvideTallyForAtom("free") );
^
AtomicParsley.cpp:1834:48: error: 'NULL' was not declared in this scope
if (supplemental_info && 0x08 && udtaAtom != NULL) { //PRINT_USER_DATA_SPACE
^
AtomicParsley.cpp:1838:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
fprintf(stdout, "media data space: %u\n", APar_ProvideTallyForAtom("mdat") );
^
AtomicParsley.cpp: In function 'void APar_PrintAtomicTree()':
AtomicParsley.cpp:1861:53: error: 'malloc' was not declared in this scope
char* tree_padding = (char*)malloc(sizeof(char)*126); //for a 25-deep atom tree (4 spaces per atom)+single space+term.
^
AtomicParsley.cpp:1868:43: error: 'memset' was not declared in this scope
memset(tree_padding, 0, sizeof(char)*126);
^
AtomicParsley.cpp:1871:37: error: 'NULL' was not declared in this scope
if (thisAtom->uuid_ap_atomname != NULL) {
^
AtomicParsley.cpp:1878:26: error: 'strcpy' was not declared in this scope
strcpy(tree_padding, "");
^
AtomicParsley.cpp:1881:32: error: 'strcat' was not declared in this scope
strcat(tree_padding, " "); // if the atom depth is over 1, then add spaces before text starts to form the tree
^
AtomicParsley.cpp:1883:28: error: 'strcat' was not declared in this scope
strcat(tree_padding, " "); // add a single space
^
AtomicParsley.cpp:1887:12: error: 'stdout' was not declared in this scope
fprintf(stdout, "%sAtom %s @ %u of size: %u (%u*), ends @ %u\n", tree_padding, twenty_byte_buffer, thisAtom->AtomicStart, ( (uint32_t)file_size - thisAtom->AtomicStart), thisAtom->AtomicLength, (uint32_t)file_size );
^
AtomicParsley.cpp:1887:218: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%sAtom %s @ %u of size: %u (%u*), ends @ %u\n", tree_padding, twenty_byte_buffer, thisAtom->AtomicStart, ( (uint32_t)file_size - thisAtom->AtomicStart), thisAtom->AtomicLength, (uint32_t)file_size );
^
AtomicParsley.cpp:1891:12: error: 'stdout' was not declared in this scope
fprintf(stdout, "%sAtom %s @ %u of size: %llu (^), ends @ %llu\n", tree_padding, twenty_byte_buffer, thisAtom->AtomicStart, thisAtom->AtomicLengthExtended, (thisAtom->AtomicStart + thisAtom->AtomicLengthExtended) );
^
AtomicParsley.cpp:1891:217: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%sAtom %s @ %u of size: %llu (^), ends @ %llu\n", tree_padding, twenty_byte_buffer, thisAtom->AtomicStart, thisAtom->AtomicLengthExtended, (thisAtom->AtomicStart + thisAtom->AtomicLengthExtended) );
^
AtomicParsley.cpp:1898:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "%sAtom uuid=", tree_padding);
^
AtomicParsley.cpp:1898:49: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%sAtom uuid=", tree_padding);
^
AtomicParsley.cpp:1902:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "%sAtom uuid=%s @ %u of size: %u, ends @ %u\n", tree_padding, twenty_byte_buffer, thisAtom->AtomicStart, thisAtom->AtomicLength, (thisAtom->AtomicStart + thisAtom->AtomicLength) );
^
AtomicParsley.cpp:1902:199: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%sAtom uuid=%s @ %u of size: %u, ends @ %u\n", tree_padding, twenty_byte_buffer, thisAtom->AtomicStart, thisAtom->AtomicLength, (thisAtom->AtomicStart + thisAtom->AtomicLength) );
^
AtomicParsley.cpp:1907:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "%sAtom uuid=", tree_padding);
^
AtomicParsley.cpp:1907:49: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%sAtom uuid=", tree_padding);
^
AtomicParsley.cpp:1911:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "%sAtom uuid=", tree_padding);
^
AtomicParsley.cpp:1911:49: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%sAtom uuid=", tree_padding);
^
AtomicParsley.cpp:1922:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "%sAtom ", tree_padding);
^
AtomicParsley.cpp:1922:44: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%sAtom ", tree_padding);
^
AtomicParsley.cpp:1926:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "%sAtom %s [%s] @ %u of size: %u, ends @ %u\n", tree_padding, twenty_byte_buffer, unpacked_lang, thisAtom->AtomicStart, thisAtom->AtomicLength, (thisAtom->AtomicStart + thisAtom->AtomicLength) );
^
AtomicParsley.cpp:1926:214: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%sAtom %s [%s] @ %u of size: %u, ends @ %u\n", tree_padding, twenty_byte_buffer, unpacked_lang, thisAtom->AtomicStart, thisAtom->AtomicLength, (thisAtom->AtomicStart + thisAtom->AtomicLength) );
^
AtomicParsley.cpp:1933:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "%sAtom ", tree_padding);
^
AtomicParsley.cpp:1933:44: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%sAtom ", tree_padding);
^
AtomicParsley.cpp:1937:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "%sAtom %s @ %u of size: %u, ends @ %u", tree_padding, twenty_byte_buffer, thisAtom->AtomicStart, thisAtom->AtomicLength, (thisAtom->AtomicStart + thisAtom->AtomicLength) );
^
AtomicParsley.cpp:1937:192: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%sAtom %s @ %u of size: %u, ends @ %u", tree_padding, twenty_byte_buffer, thisAtom->AtomicStart, thisAtom->AtomicLength, (thisAtom->AtomicStart + thisAtom->AtomicLength) );
^
AtomicParsley.cpp:1942:14: error: 'stdout' was not declared in this scope
fprintf(stdout, "\t");
^
AtomicParsley.cpp:1942:26: error: 'fprintf' was not declared in this scope
fprintf(stdout, "\t");
^
AtomicParsley.cpp:1944:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "\t\t\t ~\n");
^
AtomicParsley.cpp:1944:33: error: 'fprintf' was not declared in this scope
fprintf(stdout, "\t\t\t ~\n");
^
AtomicParsley.cpp:1947:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "\n");
^
AtomicParsley.cpp:1947:25: error: 'fprintf' was not declared in this scope
fprintf(stdout, "\n");
^
AtomicParsley.cpp:1952:45: error: 'memcmp' was not declared in this scope
if (memcmp(thisAtom->AtomicName, "free", 4) == 0) {
^
AtomicParsley.cpp:1956:47: error: 'memcmp' was not declared in this scope
if ( (memcmp(thisAtom->AtomicName, "mdat", 4) == 0) && (thisAtom->AtomicLength > 100) ) {
^
AtomicParsley.cpp:1972:11: error: 'stdout' was not declared in this scope
fprintf(stdout, "\n ~ denotes an unknown atom\n");
^
AtomicParsley.cpp:1972:51: error: 'fprintf' was not declared in this scope
fprintf(stdout, "\n ~ denotes an unknown atom\n");
^
AtomicParsley.cpp:1975:10: error: 'stdout' was not declared in this scope
fprintf(stdout, "------------------------------------------------------\n");
^
AtomicParsley.cpp:1975:76: error: 'fprintf' was not declared in this scope
fprintf(stdout, "------------------------------------------------------\n");
^
AtomicParsley.cpp:1995:19: error: 'free' was not declared in this scope
free(tree_padding);
^
AtomicParsley.cpp:1996:17: error: 'NULL' was not declared in this scope
tree_padding = NULL;
^
AtomicParsley.cpp: In function 'void APar_SimpleAtomPrintout()':
AtomicParsley.cpp:2014:11: error: 'stdout' was not declared in this scope
fprintf(stdout, "%i - Atom \"%s\" (level %u) has next atom at #%i\n", i, thisAtom->AtomicName, thisAtom->AtomicLevel, thisAtom->NextAtomNumber);
^
AtomicParsley.cpp:2014:147: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%i - Atom \"%s\" (level %u) has next atom at #%i\n", i, thisAtom->AtomicName, thisAtom->AtomicLevel, thisAtom->NextAtomNumber);
^
AtomicParsley.cpp:2016:10: error: 'stdout' was not declared in this scope
fprintf(stdout, "Total of %i atoms.\n", atom_number-1);
^
AtomicParsley.cpp:2016:55: error: 'fprintf' was not declared in this scope
fprintf(stdout, "Total of %i atoms.\n", atom_number-1);
^
AtomicParsley.cpp: In function 'void APar_AtomizeFileInfo(uint32_t, uint32_t, uint64_t, char*, uint8_t, uint8_t, uint8_t, uint32_t, uint16_t, uuid_vitals*)':
AtomicParsley.cpp:2036:54: error: 'malloc' was not declared in this scope
thisAtom->AtomicName = (char*)malloc(sizeof(char)*20);
^
AtomicParsley.cpp:2037:49: error: 'memset' was not declared in this scope
memset(thisAtom->AtomicName, 0, sizeof(char)*20);
^
AtomicParsley.cpp:2042:43: error: 'memcpy' was not declared in this scope
memcpy(thisAtom->AtomicName, Astring, 4);
^
AtomicParsley.cpp:2043:65: error: 'calloc' was not declared in this scope
thisAtom->uuid_ap_atomname = (char*)calloc(1, sizeof(char)*16);
^
AtomicParsley.cpp:2046:59: error: 'memcpy' was not declared in this scope
memcpy(thisAtom->AtomicName, uuid_info->binary_uuid, 16);
^
AtomicParsley.cpp:2048:66: error: 'calloc' was not declared in this scope
thisAtom->uuid_ap_atomname = (char*)calloc(1, sizeof(char)*16);
^
AtomicParsley.cpp:2053:42: error: 'memcpy' was not declared in this scope
memcpy(thisAtom->AtomicName, Astring, 4);
^
AtomicParsley.cpp:2065:32: error: 'strncmp' was not declared in this scope
if (strncmp(Astring, "mdat", 4) == 0) {
^
AtomicParsley.cpp: In function 'void APar_IdentifyBrand(char*)':
AtomicParsley.cpp:2098:12: error: 'stdout' was not declared in this scope
fprintf(stdout, "AtomicParsley error: Quicktime movie files are not supported.\n");
^
AtomicParsley.cpp:2098:85: error: 'fprintf' was not declared in this scope
fprintf(stdout, "AtomicParsley error: Quicktime movie files are not supported.\n");
^
AtomicParsley.cpp:2099:10: error: 'exit' was not declared in this scope
exit(2);
^
AtomicParsley.cpp: At global scope:
AtomicParsley.cpp:2155:30: error: variable or field 'APar_Extract_stsd_codec' declared void
void APar_Extract_stsd_codec(FILE* file, uint32_t midJump) {
^
AtomicParsley.cpp:2155:30: error: 'FILE' was not declared in this scope
AtomicParsley.cpp:2155:36: error: 'file' was not declared in this scope
void APar_Extract_stsd_codec(FILE* file, uint32_t midJump) {
^
AtomicParsley.cpp:2155:51: error: expected primary-expression before 'midJump'
void APar_Extract_stsd_codec(FILE* file, uint32_t midJump) {
^
AtomicParsley.cpp:2167:29: error: 'FILE' was not declared in this scope
uint64_t APar_64bitAtomRead(FILE *file, uint32_t jump_point) {
^
AtomicParsley.cpp:2167:35: error: 'file' was not declared in this scope
uint64_t APar_64bitAtomRead(FILE *file, uint32_t jump_point) {
^
AtomicParsley.cpp:2167:50: error: expected primary-expression before 'jump_point'
uint64_t APar_64bitAtomRead(FILE *file, uint32_t jump_point) {
^
AtomicParsley.cpp:2167:60: error: expression list treated as compound expression in initializer [-fpermissive]
uint64_t APar_64bitAtomRead(FILE *file, uint32_t jump_point) {
^
AtomicParsley.cpp:2167:62: error: expected ',' or ';' before '{' token
uint64_t APar_64bitAtomRead(FILE *file, uint32_t jump_point) {
^
Compiling AP_AtomExtracts.cpp ...
cc1plus: error: no include path in which to search for stdc-predef.h
AP_AtomExtracts.cpp:22:19: error: no include path in which to search for stdio.h
#include
^
AP_AtomExtracts.cpp:23:20: error: no include path in which to search for string.h
#include
^
AP_AtomExtracts.cpp:24:20: error: no include path in which to search for stdlib.h
#include
^
AP_AtomExtracts.cpp:25:18: error: no include path in which to search for time.h
#include
^
AP_AtomExtracts.cpp:26:18: error: no include path in which to search for math.h
#include
^
In file included from AP_AtomExtracts.cpp:28:0:
AtomicParsley.h:26:23: error: no include path in which to search for sys/param.h
#include
^
In file included from AtomicParsley.h:35:0,
from AP_AtomExtracts.cpp:28:
AP_commons.h:22:23: error: no include path in which to search for sys/types.h
#include
^
AP_commons.h:23:22: error: no include path in which to search for sys/stat.h
#include
^
In file included from AP_AtomExtracts.h:22:0,
from AP_AtomExtracts.cpp:29:
AP_commons.h:22:23: error: no include path in which to search for sys/types.h
#include
^
AP_commons.h:23:22: error: no include path in which to search for sys/stat.h
#include
^
In file included from AtomicParsley.h:35:0,
from AP_AtomExtracts.cpp:28:
AP_commons.h:67:20: error: 'FILE' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:26: error: 'm4afile' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:44: error: expected primary-expression before 'pos'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:47: error: expression list treated as compound expression in initializer [-fpermissive]
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:68:36: error: 'FILE' has not been declared
uint16_t APar_read16(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:69:36: error: 'FILE' has not been declared
uint32_t APar_read32(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:70:31: error: 'FILE' has not been declared
void APar_readX(char* buffer, FILE* m4afile, uint32_t pos, uint32_t length);
^
AP_commons.h:71:52: error: 'FILE' has not been declared
uint32_t APar_FindValueInAtom(char* uint32_buffer, FILE* m4afile, short an_atom, uint32_t start_position, uint32_t eval_number);
^
In file included from AtomicParsley.h:35:0,
from AP_AtomExtracts.cpp:28:
AP_commons.h:84:63: error: 'size_t' has not been declared
wchar_t* Convert_multibyteUTF16_to_wchar(char* input_unicode, size_t glyph_length, bool skip_BOM);
^
AP_commons.h:85:65: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
AP_commons.h:85:86: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
In file included from AP_AtomExtracts.cpp:28:0:
AtomicParsley.h:106:1: warning: 'typedef' was ignored in this declaration [enabled by default]
};
^
AtomicParsley.h:258:1: error: 'off_t' does not name a type
off_t findFileSize(const char *utf8_filepath);
^
AtomicParsley.h:259:1: error: 'FILE' does not name a type
FILE* APar_OpenFile(const char* utf8_filepath, const char* file_flags);
^
AtomicParsley.h:260:1: error: 'FILE' does not name a type
FILE* openSomeFile(const char* file, bool open);
^
AtomicParsley.h:262:50: error: 'FILE' has not been declared
uint32_t APar_ReadFile(char* destination_buffer, FILE* a_file, uint32_t bytes_to_read);
^
In file included from AP_AtomExtracts.h:22:0,
from AP_AtomExtracts.cpp:29:
AP_commons.h:67:20: error: redefinition of 'uint8_t APar_read8'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
In file included from AtomicParsley.h:35:0,
from AP_AtomExtracts.cpp:28:
AP_commons.h:67:9: error: 'uint8_t APar_read8' previously defined here
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
In file included from AP_AtomExtracts.h:22:0,
from AP_AtomExtracts.cpp:29:
AP_commons.h:67:20: error: 'FILE' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:26: error: 'm4afile' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:44: error: expected primary-expression before 'pos'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:68:36: error: 'FILE' has not been declared
uint16_t APar_read16(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:69:36: error: 'FILE' has not been declared
uint32_t APar_read32(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:70:31: error: 'FILE' has not been declared
void APar_readX(char* buffer, FILE* m4afile, uint32_t pos, uint32_t length);
^
AP_commons.h:71:52: error: 'FILE' has not been declared
uint32_t APar_FindValueInAtom(char* uint32_buffer, FILE* m4afile, short an_atom, uint32_t start_position, uint32_t eval_number);
^
In file included from AP_AtomExtracts.h:22:0,
from AP_AtomExtracts.cpp:29:
AP_commons.h:84:63: error: 'size_t' has not been declared
wchar_t* Convert_multibyteUTF16_to_wchar(char* input_unicode, size_t glyph_length, bool skip_BOM);
^
AP_commons.h:85:65: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
AP_commons.h:85:86: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
In file included from AP_AtomExtracts.cpp:29:0:
AP_AtomExtracts.h:119:26: error: variable or field 'APar_ExtractDetails' declared void
void APar_ExtractDetails(FILE* isofile, uint8_t optional_output);
^
AP_AtomExtracts.h:119:26: error: 'FILE' was not declared in this scope
AP_AtomExtracts.h:119:32: error: 'isofile' was not declared in this scope
void APar_ExtractDetails(FILE* isofile, uint8_t optional_output);
^
AP_AtomExtracts.h:119:49: error: expected primary-expression before 'optional_output'
void APar_ExtractDetails(FILE* isofile, uint8_t optional_output);
^
AP_AtomExtracts.cpp:46:26: error: 'FILE' was not declared in this scope
uint8_t APar_skip_filler(FILE* isofile, uint32_t start_position) {
^
AP_AtomExtracts.cpp:46:32: error: 'isofile' was not declared in this scope
uint8_t APar_skip_filler(FILE* isofile, uint32_t start_position) {
^
AP_AtomExtracts.cpp:46:50: error: expected primary-expression before 'start_position'
uint8_t APar_skip_filler(FILE* isofile, uint32_t start_position) {
^
AP_AtomExtracts.cpp:46:64: error: expression list treated as compound expression in initializer [-fpermissive]
uint8_t APar_skip_filler(FILE* isofile, uint32_t start_position) {
^
AP_AtomExtracts.cpp:46:66: error: expected ',' or ';' before '{' token
uint8_t APar_skip_filler(FILE* isofile, uint32_t start_position) {
^
Compiling APar_sha1.cpp ...
cc1plus: error: no include path in which to search for stdc-predef.h
In file included from APar_sha1.cpp:34:0:
APar_sha1.h:26:19: error: no include path in which to search for stdio.h
#include
^
In file included from APar_sha1.h:28:0,
from APar_sha1.cpp:34:
AP_commons.h:22:23: error: no include path in which to search for sys/types.h
#include
^
AP_commons.h:23:22: error: no include path in which to search for sys/stat.h
#include
^
APar_sha1.cpp:36:20: error: no include path in which to search for stddef.h
#include
^
APar_sha1.cpp:37:20: error: no include path in which to search for string.h
#include
^
In file included from APar_sha1.h:28:0,
from APar_sha1.cpp:34:
AP_commons.h:67:20: error: 'FILE' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:26: error: 'm4afile' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:44: error: expected primary-expression before 'pos'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:47: error: expression list treated as compound expression in initializer [-fpermissive]
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:68:36: error: 'FILE' has not been declared
uint16_t APar_read16(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:69:36: error: 'FILE' has not been declared
uint32_t APar_read32(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:70:31: error: 'FILE' has not been declared
void APar_readX(char* buffer, FILE* m4afile, uint32_t pos, uint32_t length);
^
AP_commons.h:71:52: error: 'FILE' has not been declared
uint32_t APar_FindValueInAtom(char* uint32_buffer, FILE* m4afile, short an_atom, uint32_t start_position, uint32_t eval_number);
^
In file included from APar_sha1.h:28:0,
from APar_sha1.cpp:34:
AP_commons.h:84:63: error: 'size_t' has not been declared
wchar_t* Convert_multibyteUTF16_to_wchar(char* input_unicode, size_t glyph_length, bool skip_BOM);
^
AP_commons.h:85:65: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
AP_commons.h:85:86: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
In file included from APar_sha1.cpp:34:0:
APar_sha1.h:54:53: error: 'size_t' has not been declared
extern void sha1_process_block (const void *buffer, size_t len,
^
APar_sha1.h:61:53: error: 'size_t' has not been declared
extern void sha1_process_bytes (const void *buffer, size_t len,
^
APar_sha1.h:86:25: warning: 'sha1_stream' initialized and declared 'extern' [enabled by default]
extern int sha1_stream (FILE *stream, void *resblock);
^
APar_sha1.h:86:25: error: 'FILE' was not declared in this scope
APar_sha1.h:86:31: error: 'stream' was not declared in this scope
extern int sha1_stream (FILE *stream, void *resblock);
^
APar_sha1.h:86:39: error: expected primary-expression before 'void'
extern int sha1_stream (FILE *stream, void *resblock);
^
APar_sha1.h:86:53: error: expression list treated as compound expression in initializer [-fpermissive]
extern int sha1_stream (FILE *stream, void *resblock);
^
APar_sha1.h:92:47: error: 'size_t' has not been declared
extern void *sha1_buffer (const char *buffer, size_t len, void *resblock);
^
APar_sha1.cpp: In function 'void* sha1_finish_ctx(sha1_ctx*, void*)':
APar_sha1.cpp:105:3: error: 'size_t' was not declared in this scope
size_t pad;
^
APar_sha1.cpp:105:10: error: expected ';' before 'pad'
size_t pad;
^
APar_sha1.cpp:112:3: error: 'pad' was not declared in this scope
pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes;
^
APar_sha1.cpp:113:44: error: 'memcpy' was not declared in this scope
memcpy (&ctx->buffer[bytes], fillbuf, pad);
^
APar_sha1.cpp: At global scope:
APar_sha1.cpp:130:14: error: redefinition of 'int sha1_stream'
sha1_stream (FILE *stream, void *resblock)
^
In file included from APar_sha1.cpp:34:0:
APar_sha1.h:86:12: error: 'int sha1_stream' previously defined here
extern int sha1_stream (FILE *stream, void *resblock);
^
APar_sha1.cpp:130:14: error: 'FILE' was not declared in this scope
sha1_stream (FILE *stream, void *resblock)
^
APar_sha1.cpp:130:20: error: 'stream' was not declared in this scope
sha1_stream (FILE *stream, void *resblock)
^
APar_sha1.cpp:130:28: error: expected primary-expression before 'void'
sha1_stream (FILE *stream, void *resblock)
^
Compiling APar_uuid.cpp ...
cc1plus: error: no include path in which to search for stdc-predef.h
APar_uuid.cpp:51:19: error: no include path in which to search for stdio.h
#include
^
APar_uuid.cpp:52:20: error: no include path in which to search for string.h
#include
^
APar_uuid.cpp:53:20: error: no include path in which to search for stdlib.h
#include
^
In file included from APar_uuid.cpp:55:0:
AP_commons.h:22:23: error: no include path in which to search for sys/types.h
#include
^
AP_commons.h:23:22: error: no include path in which to search for sys/stat.h
#include
^
In file included from APar_uuid.cpp:56:0:
APar_sha1.h:26:19: error: no include path in which to search for stdio.h
#include
^
In file included from APar_sha1.h:28:0,
from APar_uuid.cpp:56:
AP_commons.h:22:23: error: no include path in which to search for sys/types.h
#include
^
AP_commons.h:23:22: error: no include path in which to search for sys/stat.h
#include
^
In file included from APar_uuid.cpp:55:0:
AP_commons.h:67:20: error: 'FILE' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:26: error: 'm4afile' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:44: error: expected primary-expression before 'pos'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:47: error: expression list treated as compound expression in initializer [-fpermissive]
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:68:36: error: 'FILE' has not been declared
uint16_t APar_read16(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:69:36: error: 'FILE' has not been declared
uint32_t APar_read32(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:70:31: error: 'FILE' has not been declared
void APar_readX(char* buffer, FILE* m4afile, uint32_t pos, uint32_t length);
^
AP_commons.h:71:52: error: 'FILE' has not been declared
uint32_t APar_FindValueInAtom(char* uint32_buffer, FILE* m4afile, short an_atom, uint32_t start_position, uint32_t eval_number);
^
In file included from APar_uuid.cpp:55:0:
AP_commons.h:84:63: error: 'size_t' has not been declared
wchar_t* Convert_multibyteUTF16_to_wchar(char* input_unicode, size_t glyph_length, bool skip_BOM);
^
AP_commons.h:85:65: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
AP_commons.h:85:86: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
In file included from APar_sha1.h:28:0,
from APar_uuid.cpp:56:
AP_commons.h:67:20: error: redefinition of 'uint8_t APar_read8'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
In file included from APar_uuid.cpp:55:0:
AP_commons.h:67:9: error: 'uint8_t APar_read8' previously defined here
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
In file included from APar_sha1.h:28:0,
from APar_uuid.cpp:56:
AP_commons.h:67:20: error: 'FILE' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:26: error: 'm4afile' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:44: error: expected primary-expression before 'pos'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:68:36: error: 'FILE' has not been declared
uint16_t APar_read16(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:69:36: error: 'FILE' has not been declared
uint32_t APar_read32(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:70:31: error: 'FILE' has not been declared
void APar_readX(char* buffer, FILE* m4afile, uint32_t pos, uint32_t length);
^
AP_commons.h:71:52: error: 'FILE' has not been declared
uint32_t APar_FindValueInAtom(char* uint32_buffer, FILE* m4afile, short an_atom, uint32_t start_position, uint32_t eval_number);
^
In file included from APar_sha1.h:28:0,
from APar_uuid.cpp:56:
AP_commons.h:84:63: error: 'size_t' has not been declared
wchar_t* Convert_multibyteUTF16_to_wchar(char* input_unicode, size_t glyph_length, bool skip_BOM);
^
AP_commons.h:85:65: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
AP_commons.h:85:86: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
In file included from APar_uuid.cpp:56:0:
APar_sha1.h:54:53: error: 'size_t' has not been declared
extern void sha1_process_block (const void *buffer, size_t len,
^
APar_sha1.h:61:53: error: 'size_t' has not been declared
extern void sha1_process_bytes (const void *buffer, size_t len,
^
APar_sha1.h:86:25: warning: 'sha1_stream' initialized and declared 'extern' [enabled by default]
extern int sha1_stream (FILE *stream, void *resblock);
^
APar_sha1.h:86:25: error: 'FILE' was not declared in this scope
APar_sha1.h:86:31: error: 'stream' was not declared in this scope
extern int sha1_stream (FILE *stream, void *resblock);
^
APar_sha1.h:86:39: error: expected primary-expression before 'void'
extern int sha1_stream (FILE *stream, void *resblock);
^
APar_sha1.h:86:53: error: expression list treated as compound expression in initializer [-fpermissive]
extern int sha1_stream (FILE *stream, void *resblock);
^
APar_sha1.h:92:47: error: 'size_t' has not been declared
extern void *sha1_buffer (const char *buffer, size_t len, void *resblock);
^
APar_uuid.cpp: In function 'void print_hash(char*)':
APar_uuid.cpp:67:15: error: 'stdout' was not declared in this scope
fprintf(stdout,"%02x", (uint8_t)hash[i]);
^
APar_uuid.cpp:67:46: error: 'fprintf' was not declared in this scope
fprintf(stdout,"%02x", (uint8_t)hash[i]);
^
APar_uuid.cpp:69:10: error: 'stdout' was not declared in this scope
fprintf(stdout, "\n");
^
APar_uuid.cpp:69:22: error: 'fprintf' was not declared in this scope
fprintf(stdout, "\n");
^
APar_uuid.cpp: In function 'void APar_print_uuid(ap_uuid_t*, bool)':
APar_uuid.cpp:119:10: error: 'stdout' was not declared in this scope
fprintf(stdout, "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
^
APar_uuid.cpp:125:98: error: 'fprintf' was not declared in this scope
uuid->node[0], uuid->node[1], uuid->node[2], uuid->node[3], uuid->node[4], uuid->node[5]);
^
APar_uuid.cpp: In function 'uint8_t APar_uuid_scanf(char*, char*)':
APar_uuid.cpp:142:28: error: 'strlen' was not declared in this scope
uuid_len = strlen(raw_uuid); //it will be like "55534d54-21d2-4fce-bb88-695cfac9c740"
^
APar_uuid.cpp: In function 'uint8_t APar_extract_uuid_version(ap_uuid_t*, char*)':
APar_uuid.cpp:243:25: error: 'NULL' was not declared in this scope
if (binary_uuid_str != NULL) {
^
APar_uuid.cpp: In function 'void AP_Create_UUID_ver5_sha1_name(ap_uuid_t*, ap_uuid_t, char*, int)':
APar_uuid.cpp:282:41: error: 'memcpy' was not declared in this scope
memcpy(out_uuid, hash, sizeof *out_uuid);
^
APar_uuid.cpp: In function 'void APar_generate_uuid_from_atomname(char*, char*)':
APar_uuid.cpp:312:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_Create_UUID_ver5_sha1_name(&APar_namespace_uuid, blank_namespace, "AtomicParsley.sf.net", 20);
^
APar_uuid.cpp:315:31: error: 'memset' was not declared in this scope
memset(uuid_binary_str, 0, 20);
^
APar_uuid.cpp:316:62: error: 'memcpy' was not declared in this scope
memcpy(uuid_binary_str, &AP_atom_uuid, sizeof(AP_atom_uuid) );
^
APar_uuid.cpp: In function 'void APar_generate_test_uuid()':
APar_uuid.cpp:327:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_Create_UUID_ver5_sha1_name(&APar_ns_uuid, blank_ns, "AtomicParsley.sf.net", 20);
^
APar_uuid.cpp:329:10: error: 'stdout' was not declared in this scope
fprintf(stdout, "uuid for 'cprt' in AP namespace: ");
^
APar_uuid.cpp:329:53: error: 'fprintf' was not declared in this scope
fprintf(stdout, "uuid for 'cprt' in AP namespace: ");
^
APar_uuid.cpp:330:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
AP_Create_UUID_ver5_sha1_name(&APar_test_uuid, APar_ns_uuid, "cprt", 4);
^
Compiling main.cpp ...
cc1plus: error: no include path in which to search for stdc-predef.h
main.cpp:28:20: error: no include path in which to search for stdlib.h
#include
^
main.cpp:29:19: error: no include path in which to search for stdio.h
#include
^
main.cpp:30:20: error: no include path in which to search for string.h
#include
^
main.cpp:31:20: error: no include path in which to search for signal.h
#include
^
main.cpp:32:19: error: no include path in which to search for wchar.h
#include
^
main.cpp:37:20: error: no include path in which to search for getopt.h
#include
^
In file included from main.cpp:40:0:
AP_commons.h:22:23: error: no include path in which to search for sys/types.h
#include
^
AP_commons.h:23:22: error: no include path in which to search for sys/stat.h
#include
^
In file included from main.cpp:41:0:
AtomicParsley.h:26:23: error: no include path in which to search for sys/param.h
#include
^
In file included from AtomicParsley.h:35:0,
from main.cpp:41:
AP_commons.h:22:23: error: no include path in which to search for sys/types.h
#include
^
AP_commons.h:23:22: error: no include path in which to search for sys/stat.h
#include
^
In file included from AP_AtomExtracts.h:22:0,
from main.cpp:42:
AP_commons.h:22:23: error: no include path in which to search for sys/types.h
#include
^
AP_commons.h:23:22: error: no include path in which to search for sys/stat.h
#include
^
In file included from main.cpp:40:0:
AP_commons.h:67:20: error: 'FILE' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:26: error: 'm4afile' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:44: error: expected primary-expression before 'pos'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:47: error: expression list treated as compound expression in initializer [-fpermissive]
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:68:36: error: 'FILE' has not been declared
uint16_t APar_read16(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:69:36: error: 'FILE' has not been declared
uint32_t APar_read32(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:70:31: error: 'FILE' has not been declared
void APar_readX(char* buffer, FILE* m4afile, uint32_t pos, uint32_t length);
^
AP_commons.h:71:52: error: 'FILE' has not been declared
uint32_t APar_FindValueInAtom(char* uint32_buffer, FILE* m4afile, short an_atom, uint32_t start_position, uint32_t eval_number);
^
In file included from main.cpp:40:0:
AP_commons.h:84:63: error: 'size_t' has not been declared
wchar_t* Convert_multibyteUTF16_to_wchar(char* input_unicode, size_t glyph_length, bool skip_BOM);
^
AP_commons.h:85:65: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
AP_commons.h:85:86: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
In file included from AtomicParsley.h:35:0,
from main.cpp:41:
AP_commons.h:67:20: error: redefinition of 'uint8_t APar_read8'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
In file included from main.cpp:40:0:
AP_commons.h:67:9: error: 'uint8_t APar_read8' previously defined here
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
In file included from AtomicParsley.h:35:0,
from main.cpp:41:
AP_commons.h:67:20: error: 'FILE' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:26: error: 'm4afile' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:44: error: expected primary-expression before 'pos'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:68:36: error: 'FILE' has not been declared
uint16_t APar_read16(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:69:36: error: 'FILE' has not been declared
uint32_t APar_read32(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:70:31: error: 'FILE' has not been declared
void APar_readX(char* buffer, FILE* m4afile, uint32_t pos, uint32_t length);
^
AP_commons.h:71:52: error: 'FILE' has not been declared
uint32_t APar_FindValueInAtom(char* uint32_buffer, FILE* m4afile, short an_atom, uint32_t start_position, uint32_t eval_number);
^
In file included from AtomicParsley.h:35:0,
from main.cpp:41:
AP_commons.h:84:63: error: 'size_t' has not been declared
wchar_t* Convert_multibyteUTF16_to_wchar(char* input_unicode, size_t glyph_length, bool skip_BOM);
^
AP_commons.h:85:65: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
AP_commons.h:85:86: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
In file included from main.cpp:41:0:
AtomicParsley.h:106:1: warning: 'typedef' was ignored in this declaration [enabled by default]
};
^
AtomicParsley.h:258:1: error: 'off_t' does not name a type
off_t findFileSize(const char *utf8_filepath);
^
AtomicParsley.h:259:1: error: 'FILE' does not name a type
FILE* APar_OpenFile(const char* utf8_filepath, const char* file_flags);
^
AtomicParsley.h:260:1: error: 'FILE' does not name a type
FILE* openSomeFile(const char* file, bool open);
^
AtomicParsley.h:262:50: error: 'FILE' has not been declared
uint32_t APar_ReadFile(char* destination_buffer, FILE* a_file, uint32_t bytes_to_read);
^
In file included from AP_AtomExtracts.h:22:0,
from main.cpp:42:
AP_commons.h:67:20: error: redefinition of 'uint8_t APar_read8'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
In file included from main.cpp:40:0:
AP_commons.h:67:9: error: 'uint8_t APar_read8' previously defined here
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
In file included from AP_AtomExtracts.h:22:0,
from main.cpp:42:
AP_commons.h:67:20: error: 'FILE' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:26: error: 'm4afile' was not declared in this scope
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:67:44: error: expected primary-expression before 'pos'
uint8_t APar_read8(FILE* m4afile, uint32_t pos);
^
AP_commons.h:68:36: error: 'FILE' has not been declared
uint16_t APar_read16(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:69:36: error: 'FILE' has not been declared
uint32_t APar_read32(char* buffer, FILE* m4afile, uint32_t pos);
^
AP_commons.h:70:31: error: 'FILE' has not been declared
void APar_readX(char* buffer, FILE* m4afile, uint32_t pos, uint32_t length);
^
AP_commons.h:71:52: error: 'FILE' has not been declared
uint32_t APar_FindValueInAtom(char* uint32_buffer, FILE* m4afile, short an_atom, uint32_t start_position, uint32_t eval_number);
^
In file included from AP_AtomExtracts.h:22:0,
from main.cpp:42:
AP_commons.h:84:63: error: 'size_t' has not been declared
wchar_t* Convert_multibyteUTF16_to_wchar(char* input_unicode, size_t glyph_length, bool skip_BOM);
^
AP_commons.h:85:65: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
AP_commons.h:85:86: error: 'size_t' has not been declared
unsigned char* Convert_multibyteUTF16_to_UTF8(char* input_utf8, size_t glyph_length, size_t byte_count);
^
In file included from main.cpp:42:0:
AP_AtomExtracts.h:119:26: error: variable or field 'APar_ExtractDetails' declared void
void APar_ExtractDetails(FILE* isofile, uint8_t optional_output);
^
AP_AtomExtracts.h:119:26: error: 'FILE' was not declared in this scope
AP_AtomExtracts.h:119:32: error: 'isofile' was not declared in this scope
void APar_ExtractDetails(FILE* isofile, uint8_t optional_output);
^
AP_AtomExtracts.h:119:49: error: expected primary-expression before 'optional_output'
void APar_ExtractDetails(FILE* isofile, uint8_t optional_output);
^
main.cpp: In function 'void kill_signal(int)':
main.cpp:126:11: error: 'exit' was not declared in this scope
exit(0);
^
main.cpp: At global scope:
main.cpp:193:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
"----------------------------------------------------------------------"
^
main.cpp:279:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
"------------------------------------------------------------------------------------------------\n"
^
main.cpp:407:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
"----------------------------------------------------------------------------------------------------\n"
^
main.cpp:482:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
"\n"
^
main.cpp:514:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
"Note: (foo) denotes required arguments; [foo] denotes optional parameters & may have defaults.\n"
^
main.cpp:586:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
"------------------------------------------------------------------------------------------------\n"
^
main.cpp: In function 'void ExtractPaddingPrefs(char*)':
main.cpp:594:27: error: 'NULL' was not declared in this scope
if (env_padding_prefs != NULL) {
^
main.cpp:599:30: error: 'NULL' was not declared in this scope
while (env_pad_prefs_ptr != NULL) {
^
main.cpp:600:52: error: 'strsep' was not declared in this scope
env_pad_prefs_ptr = strsep(&env_padding_prefs,":");
^
main.cpp:604:51: error: 'memcmp' was not declared in this scope
if (memcmp(env_pad_prefs_ptr, "DEFAULT_PAD=", 12) == 0) {
^
main.cpp:606:67: error: 'sscanf' was not declared in this scope
sscanf(env_pad_prefs_ptr, "%u", &pad_prefs.default_padding_size);
^
main.cpp:608:46: error: 'memcmp' was not declared in this scope
if (memcmp(env_pad_prefs_ptr, "MIN_PAD=", 8) == 0) {
^
main.cpp:610:76: error: 'sscanf' was not declared in this scope
sscanf(env_pad_prefs_ptr, "%u", &pad_prefs.minimum_required_padding_size);
^
main.cpp:612:46: error: 'memcmp' was not declared in this scope
if (memcmp(env_pad_prefs_ptr, "MAX_PAD=", 8) == 0) {
^
main.cpp:614:75: error: 'sscanf' was not declared in this scope
sscanf(env_pad_prefs_ptr, "%u", &pad_prefs.maximum_present_padding_size);
^
main.cpp: In function 'void GetBasePath(const char*, char*&)':
main.cpp:624:28: error: 'strlen' was not declared in this scope
for (int i=strlen(filepath); i >= 0; i--) {
^
main.cpp:626:33: error: 'strncmp' was not declared in this scope
if ( strncmp(this_char, ".", 1) == 0 ) {
^
main.cpp:631:30: error: 'size_t' was not declared in this scope
memcpy(basepath, filepath, (size_t)split_here);
^
main.cpp:631:47: error: 'memcpy' was not declared in this scope
memcpy(basepath, filepath, (size_t)split_here);
^
main.cpp: In function 'void find_optional_args(char**, int, uint16_t&, bool&, int)':
main.cpp:642:54: error: 'memcmp' was not declared in this scope
if ( memcmp(argv[start_optindargs + i], "lang=", 5) == 0 ) {
^
main.cpp:648:50: error: 'memcmp' was not declared in this scope
if (memcmp(argv[start_optindargs + i], "--", 2) == 0) {
^
main.cpp: In function 'int main(int, char**)':
main.cpp:687:12: error: 'stdout' was not declared in this scope
fprintf (stdout,"%s\n", shortHelp_text); exit(0);
^
main.cpp:687:41: error: 'fprintf' was not declared in this scope
fprintf (stdout,"%s\n", shortHelp_text); exit(0);
^
main.cpp:687:50: error: 'exit' was not declared in this scope
fprintf (stdout,"%s\n", shortHelp_text); exit(0);
^
main.cpp:688:50: error: 'strncmp' was not declared in this scope
} else if (argc == 2 && ((strncmp(argv[1],"-v",2) == 0) || (strncmp(argv[1],"-version",2) == 0)) ) {
^
main.cpp:692:9: error: 'exit' was not declared in this scope
exit(0);
^
main.cpp:696:12: error: 'stdout' was not declared in this scope
fprintf(stdout, "%s\n", shortHelp_text); exit(0);
^
main.cpp:696:42: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%s\n", shortHelp_text); exit(0);
^
main.cpp:696:51: error: 'exit' was not declared in this scope
fprintf(stdout, "%s\n", shortHelp_text); exit(0);
^
main.cpp:700:40: error: 'strlen' was not declared in this scope
int help_len = strlen(longHelp_text)+1;
^
main.cpp:701:69: error: 'malloc' was not declared in this scope
wchar_t* Lhelp_text = (wchar_t *)malloc(sizeof(wchar_t)*help_len);
^
main.cpp:702:36: error: 'wmemset' was not declared in this scope
wmemset(Lhelp_text, 0, help_len);
^
main.cpp:707:20: error: 'free' was not declared in this scope
free(Lhelp_text);
^
main.cpp:709:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "%s", longHelp_text);
^
main.cpp:709:40: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%s", longHelp_text);
^
main.cpp:711:10: error: 'exit' was not declared in this scope
exit(0);
^
main.cpp:714:12: error: 'stdout' was not declared in this scope
fprintf(stdout, "%s\n", _3gpHelp_text); exit(0);
^
main.cpp:714:41: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%s\n", _3gpHelp_text); exit(0);
^
main.cpp:714:50: error: 'exit' was not declared in this scope
fprintf(stdout, "%s\n", _3gpHelp_text); exit(0);
^
main.cpp:717:12: error: 'stdout' was not declared in this scope
fprintf(stdout, "%s\n", ISOHelp_text); exit(0);
^
main.cpp:717:40: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%s\n", ISOHelp_text); exit(0);
^
main.cpp:717:49: error: 'exit' was not declared in this scope
fprintf(stdout, "%s\n", ISOHelp_text); exit(0);
^
main.cpp:720:12: error: 'stdout' was not declared in this scope
fprintf(stdout, "%s\n", fileLevelHelp_text); exit(0);
^
main.cpp:720:46: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%s\n", fileLevelHelp_text); exit(0);
^
main.cpp:720:55: error: 'exit' was not declared in this scope
fprintf(stdout, "%s\n", fileLevelHelp_text); exit(0);
^
main.cpp:723:12: error: 'stdout' was not declared in this scope
fprintf(stdout, "%s\n", uuidHelp_text); exit(0);
^
main.cpp:723:41: error: 'fprintf' was not declared in this scope
fprintf(stdout, "%s\n", uuidHelp_text); exit(0);
^
main.cpp:723:50: error: 'exit' was not declared in this scope
fprintf(stdout, "%s\n", uuidHelp_text); exit(0);
^
main.cpp:725:49: error: 'memcmp' was not declared in this scope
} else if ( memcmp(argv[1], "--genre-list", 12) == 0 ) {
^
main.cpp:726:30: error: 'exit' was not declared in this scope
ListGenresValues(); exit(0);
^
main.cpp:729:28: error: 'exit' was not declared in this scope
ListStikValues(); exit(0);
^
main.cpp:733:50: error: 'memcmp' was not declared in this scope
if ( argc == 3 && (memcmp(argv[2], "--brands", 8) == 0 || memcmp(argv[2], "-brands", 7) == 0) ) {
^
main.cpp:734:39: error: 'exit' was not declared in this scope
APar_ExtractBrands(argv[1]); exit(0);
^
main.cpp:743:45: error: 'getenv' was not declared in this scope
char* padding_options = getenv("AP_PADDING");
^
main.cpp:747:20: error: 'strlen' was not declared in this scope
if (strlen(m4afile) + 11 > MAXPATHLEN) {
^
main.cpp:747:29: error: 'MAXPATHLEN' was not declared in this scope
if (strlen(m4afile) + 11 > MAXPATHLEN) {
^
main.cpp:748:11: error: 'stderr' was not declared in this scope
fprintf(stderr, "%c %s", '\a', "AtomicParsley error: filename/filepath was too long.\n");
^
main.cpp:748:90: error: 'fprintf' was not declared in this scope
fprintf(stderr, "%c %s", '\a', "AtomicParsley error: filename/filepath was too long.\n");
^
main.cpp:749:9: error: 'exit' was not declared in this scope
exit(1);
^
main.cpp:754:31: error: 'NULL' was not declared in this scope
{ "help", 0, NULL, OPT_HELP },
^
main.cpp:755:20: error: 'optional_argument' was not declared in this scope
{ "test", optional_argument, NULL, OPT_TEST },
^
main.cpp:758:25: error: 'required_argument' was not declared in this scope
{ "extractPixToPath", required_argument, NULL, OPT_ExtractPixToPath },
^
main.cpp:826:2: error: elements of array 'main(int, char**)::option long_options []' have incomplete type
};
^
main.cpp:826:2: error: storage size of 'long_options' isn't known
main.cpp:831:217: error: 'getopt_long' was not declared in this scope
c = getopt_long(argc, argv, "hTtEe:a:b:c:d:f:g:i:k:l:n:o:pq::u:w:y:z:A:B:C:D:F:G:H:I:J:K:L:MN:QR:S:U:WXV:ZP 0xAA: 0xAB: 0xAC: 0xAD: 0xAE: 0xAF: 0xB0: 0xB1: 0xB2: 0xB3: 0xB4: 0xB5: 0xB6:", long_options, &option_index);
^
main.cpp:841:9: error: 'SIGTERM' was not declared in this scope
signal(SIGTERM, kill_signal);
^
main.cpp:841:29: error: 'signal' was not declared in this scope
signal(SIGTERM, kill_signal);
^
main.cpp:843:9: error: 'SIGKILL' was not declared in this scope
signal(SIGKILL, kill_signal);
^
main.cpp:845:9: error: 'SIGINT' was not declared in this scope
signal(SIGINT, kill_signal);
^
main.cpp:853:13: error: 'stdout' was not declared in this scope
fprintf (stdout,"%s", longHelp_text); return 0;
^
main.cpp:853:39: error: 'fprintf' was not declared in this scope
fprintf (stdout,"%s", longHelp_text); return 0;
^
main.cpp:860:13: error: 'optind' was not declared in this scope
if (argv[optind]) {
^
main.cpp:861:41: error: 'memcmp' was not declared in this scope
if (memcmp(argv[optind], "+dates", 6) == 0) {
^
main.cpp:862:53: error: 'openSomeFile' was not declared in this scope
APar_ExtractDetails( openSomeFile(m4afile, true), SHOW_TRACK_INFO + SHOW_DATE_INFO );
^
main.cpp:862:89: error: 'APar_ExtractDetails' was not declared in this scope
APar_ExtractDetails( openSomeFile(m4afile, true), SHOW_TRACK_INFO + SHOW_DATE_INFO );
^
main.cpp:864:53: error: 'openSomeFile' was not declared in this scope
APar_ExtractDetails( openSomeFile(m4afile, true), SHOW_TRACK_INFO);
^
main.cpp:864:71: error: 'APar_ExtractDetails' was not declared in this scope
APar_ExtractDetails( openSomeFile(m4afile, true), SHOW_TRACK_INFO);
^
main.cpp:871:13: error: 'optind' was not declared in this scope
if (argv[optind]) { //for utilities that write iTunes-style metadata into 3gp branded files
^
main.cpp:876:31: error: 'openSomeFile' was not declared in this scope
openSomeFile(m4afile, true);
^
main.cpp:878:36: error: 'memcmp' was not declared in this scope
if (memcmp(argv[optind], "+", 1) == 0) {
^
main.cpp:881:14: error: 'stdout' was not declared in this scope
fprintf(stdout, "---------------------------\n Track level ISO user data:\n");
^
main.cpp:881:83: error: 'fprintf' was not declared in this scope
fprintf(stdout, "---------------------------\n Track level ISO user data:\n");
^
main.cpp:893:31: error: 'openSomeFile' was not declared in this scope
openSomeFile(m4afile, true);
^
main.cpp:901:31: error: 'openSomeFile' was not declared in this scope
openSomeFile(m4afile, false);
^
main.cpp:906:47: error: 'MAXPATHLEN' was not declared in this scope
char* base_path=(char*)malloc(sizeof(char)*MAXPATHLEN+1);
^
main.cpp:906:59: error: 'malloc' was not declared in this scope
char* base_path=(char*)malloc(sizeof(char)*MAXPATHLEN+1);
^
main.cpp:907:38: error: 'memset' was not declared in this scope
memset(base_path, 0, MAXPATHLEN +1);
^
main.cpp:911:30: error: 'openSomeFile' was not declared in this scope
openSomeFile(m4afile, true);
^
main.cpp:915:18: error: 'free' was not declared in this scope
free(base_path);
^
main.cpp:922:30: error: 'openSomeFile' was not declared in this scope
openSomeFile(m4afile, true);
^
main.cpp:923:33: error: 'optarg' was not declared in this scope
APar_PrintDataAtoms(m4afile, optarg, 0, EXTRACT_ARTWORK); //exportPix to a different path
^
main.cpp:930:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "artist") ) {
^
main.cpp:936:85: error: 'optarg' was not declared in this scope
short artistData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.�ART.data", optarg, AtomFlags_Data_Text);
^
main.cpp:943:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "title") ) {
^
main.cpp:947:84: error: 'optarg' was not declared in this scope
short titleData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.�nam.data", optarg, AtomFlags_Data_Text);
^
main.cpp:954:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "album") ) {
^
main.cpp:958:84: error: 'optarg' was not declared in this scope
short albumData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.�alb.data", optarg, AtomFlags_Data_Text);
^
main.cpp:965:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "genre") ) {
^
main.cpp:969:32: error: 'optarg' was not declared in this scope
APar_MetaData_atomGenre_Set(optarg);
^
main.cpp:975:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "track number") ) {
^
main.cpp:981:16: error: 'optarg' was not declared in this scope
if (strrchr(optarg, '/') != NULL) {
^
main.cpp:981:27: error: 'strrchr' was not declared in this scope
if (strrchr(optarg, '/') != NULL) {
^
main.cpp:984:49: error: 'strsep' was not declared in this scope
char* item_stat = strsep(&duplicate_info,"/");
^
main.cpp:985:43: error: 'sscanf' was not declared in this scope
sscanf(item_stat, "%hu", &pos_in_total); //sscanf into a an unsigned char (uint8_t is typedef'ed to a unsigned char by gcc)
^
main.cpp:989:40: error: 'sscanf' was not declared in this scope
sscanf(optarg, "%hu", &pos_in_total);
^
main.cpp:992:87: error: 'optarg' was not declared in this scope
short tracknumData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.trkn.data", optarg, AtomFlags_Data_Binary);
^
main.cpp:1003:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "disc number") ) {
^
main.cpp:1009:16: error: 'optarg' was not declared in this scope
if (strrchr(optarg, '/') != NULL) {
^
main.cpp:1009:27: error: 'strrchr' was not declared in this scope
if (strrchr(optarg, '/') != NULL) {
^
main.cpp:1012:49: error: 'strsep' was not declared in this scope
char* item_stat = strsep(&duplicate_info,"/");
^
main.cpp:1013:43: error: 'sscanf' was not declared in this scope
sscanf(item_stat, "%hu", &pos_in_total); //sscanf into a an unsigned char (uint8_t is typedef'ed to a unsigned char by gcc)
^
main.cpp:1018:40: error: 'sscanf' was not declared in this scope
sscanf(optarg, "%hu", &pos_in_total);
^
main.cpp:1021:86: error: 'optarg' was not declared in this scope
short disknumData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.disk.data", optarg, AtomFlags_Data_Binary);
^
main.cpp:1031:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "comment") ) {
^
main.cpp:1035:86: error: 'optarg' was not declared in this scope
short commentData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.�cmt.data", optarg, AtomFlags_Data_Text);
^
main.cpp:1042:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "year") ) {
^
main.cpp:1046:83: error: 'optarg' was not declared in this scope
short yearData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.�day.data", optarg, AtomFlags_Data_Text);
^
main.cpp:1053:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "lyrics") ) {
^
main.cpp:1057:85: error: 'optarg' was not declared in this scope
short lyricsData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.�lyr.data", optarg, AtomFlags_Data_Text);
^
main.cpp:1064:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "composer") ) {
^
main.cpp:1068:87: error: 'optarg' was not declared in this scope
short composerData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.�wrt.data", optarg, AtomFlags_Data_Text);
^
main.cpp:1075:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "copyright") ) {
^
main.cpp:1079:88: error: 'optarg' was not declared in this scope
short copyrightData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.cprt.data", optarg, AtomFlags_Data_Text);
^
main.cpp:1086:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "grouping") ) {
^
main.cpp:1090:87: error: 'optarg' was not declared in this scope
short groupingData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.�grp.data", optarg, AtomFlags_Data_Text);
^
main.cpp:1097:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "compilation") ) {
^
main.cpp:1101:16: error: 'optarg' was not declared in this scope
if (strncmp(optarg, "false", 5) == 0 || strlen(optarg) == 0) {
^
main.cpp:1101:34: error: 'strncmp' was not declared in this scope
if (strncmp(optarg, "false", 5) == 0 || strlen(optarg) == 0) {
^
main.cpp:1101:57: error: 'strlen' was not declared in this scope
if (strncmp(optarg, "false", 5) == 0 || strlen(optarg) == 0) {
^
main.cpp:1113:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "BPM") ) {
^
main.cpp:1117:16: error: 'optarg' was not declared in this scope
if (strncmp(optarg, "0", 1) == 0 || strlen(optarg) == 0) {
^
main.cpp:1117:30: error: 'strncmp' was not declared in this scope
if (strncmp(optarg, "0", 1) == 0 || strlen(optarg) == 0) {
^
main.cpp:1117:53: error: 'strlen' was not declared in this scope
if (strncmp(optarg, "0", 1) == 0 || strlen(optarg) == 0) {
^
main.cpp:1121:38: error: 'sscanf' was not declared in this scope
sscanf(optarg, "%hu", &bpm_value );
^
main.cpp:1131:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "content advisory") ) {
^
main.cpp:1135:16: error: 'optarg' was not declared in this scope
if (strncmp(optarg, "remove", 6) == 0 || strlen(optarg) == 0) {
^
main.cpp:1135:35: error: 'strncmp' was not declared in this scope
if (strncmp(optarg, "remove", 6) == 0 || strlen(optarg) == 0) {
^
main.cpp:1135:58: error: 'strlen' was not declared in this scope
if (strncmp(optarg, "remove", 6) == 0 || strlen(optarg) == 0) {
^
main.cpp:1154:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "coverart") ) {
^
main.cpp:1158:34: error: 'optarg' was not declared in this scope
APar_MetaData_atomArtwork_Set(optarg, env_PicOptions);
^
main.cpp:1164:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "'stik'") ) {
^
main.cpp:1168:16: error: 'optarg' was not declared in this scope
if (strncmp(optarg, "remove", 6) == 0 || strlen(optarg) == 0) {
^
main.cpp:1168:35: error: 'strncmp' was not declared in this scope
if (strncmp(optarg, "remove", 6) == 0 || strlen(optarg) == 0) {
^
main.cpp:1168:58: error: 'strlen' was not declared in this scope
if (strncmp(optarg, "remove", 6) == 0 || strlen(optarg) == 0) {
^
main.cpp:1173:35: error: 'memcmp' was not declared in this scope
if (memcmp(optarg, "value=", 6) == 0) {
^
main.cpp:1175:34: error: 'strsep' was not declared in this scope
strsep(&stik_val_str_ptr,"=");
^
main.cpp:1176:50: error: 'sscanf' was not declared in this scope
sscanf(stik_val_str_ptr, "%hhu", &stik_value);
^
main.cpp:1195:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "encoding tool") ) {
^
main.cpp:1199:91: error: 'optarg' was not declared in this scope
short encodingtoolData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.�too.data", optarg, AtomFlags_Data_Text);
^
main.cpp:1206:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "description") ) {
^
main.cpp:1210:90: error: 'optarg' was not declared in this scope
short descriptionData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.desc.data", optarg, AtomFlags_Data_Text);
^
main.cpp:1217:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "TV Network") ) {
^
main.cpp:1221:88: error: 'optarg' was not declared in this scope
short tvnetworkData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.tvnn.data", optarg, AtomFlags_Data_Text);
^
main.cpp:1228:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "TV Show name") ) {
^
main.cpp:1232:89: error: 'optarg' was not declared in this scope
short tvshownameData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.tvsh.data", optarg, AtomFlags_Data_Text);
^
main.cpp:1239:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "TV Episode string") ) {
^
main.cpp:1243:88: error: 'optarg' was not declared in this scope
short tvepisodeData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.tven.data", optarg, AtomFlags_Data_Text);
^
main.cpp:1250:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "TV Season") ) {
^
main.cpp:1255:11: error: 'optarg' was not declared in this scope
sscanf(optarg, "%hu", &data_value );
^
main.cpp:1255:38: error: 'sscanf' was not declared in this scope
sscanf(optarg, "%hu", &data_value );
^
main.cpp:1266:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "TV Episode number") ) {
^
main.cpp:1271:11: error: 'optarg' was not declared in this scope
sscanf(optarg, "%hu", &data_value );
^
main.cpp:1271:38: error: 'sscanf' was not declared in this scope
sscanf(optarg, "%hu", &data_value );
^
main.cpp:1282:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "album artist") ) {
^
main.cpp:1286:90: error: 'optarg' was not declared in this scope
short albumartistData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.aART.data", optarg, AtomFlags_Data_Text);
^
main.cpp:1293:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "podcast flag") ) {
^
main.cpp:1297:16: error: 'optarg' was not declared in this scope
if (strncmp(optarg, "false", 5) == 0) {
^
main.cpp:1297:34: error: 'strncmp' was not declared in this scope
if (strncmp(optarg, "false", 5) == 0) {
^
main.cpp:1310:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "keyword") ) {
^
main.cpp:1314:86: error: 'optarg' was not declared in this scope
short keywordData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.keyw.data", optarg, AtomFlags_Data_Text);
^
main.cpp:1321:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "category") ) {
^
main.cpp:1325:87: error: 'optarg' was not declared in this scope
short categoryData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.catg.data", optarg, AtomFlags_Data_Text);
^
main.cpp:1332:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "podcast URL") ) {
^
main.cpp:1336:89: error: 'optarg' was not declared in this scope
short podcasturlData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.purl.data", optarg, AtomFlags_Data_Binary);
^
main.cpp:1343:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "podcast GUID") ) {
^
main.cpp:1347:87: error: 'optarg' was not declared in this scope
short globalidData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.egid.data", optarg, AtomFlags_Data_Binary);
^
main.cpp:1354:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "purchase date") ) {
^
main.cpp:1359:8: error: 'optarg' was not declared in this scope
if (optarg != NULL) {
^
main.cpp:1360:39: error: 'strncmp' was not declared in this scope
if (strncmp(optarg, "timestamp", 9) == 0) {
^
main.cpp:1361:49: error: 'malloc' was not declared in this scope
purd_time = (char *)malloc(sizeof(char)*255);
^
main.cpp:1371:87: error: 'optarg' was not declared in this scope
short globalidData_atom = APar_MetaData_atom_Init("moov.udta.meta.ilst.purd.data", optarg, AtomFlags_Data_Text);
^
main.cpp:1374:19: error: 'free' was not declared in this scope
free(purd_time);
^
main.cpp:1382:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style == ITUNES_STYLE, 1, "gapless playback") ) {
^
main.cpp:1386:16: error: 'optarg' was not declared in this scope
if (strncmp(optarg, "false", 5) == 0 || strlen(optarg) == 0) {
^
main.cpp:1386:34: error: 'strncmp' was not declared in this scope
if (strncmp(optarg, "false", 5) == 0 || strlen(optarg) == 0) {
^
main.cpp:1386:57: error: 'strlen' was not declared in this scope
if (strncmp(optarg, "false", 5) == 0 || strlen(optarg) == 0) {
^
main.cpp:1400:55: error: 'malloc' was not declared in this scope
char* formed_time = (char *)malloc(sizeof(char)*110);
^
main.cpp:1401:13: error: 'optind' was not declared in this scope
if (argv[optind]) {
^
main.cpp:1402:28: error: 'strlen' was not declared in this scope
if (strlen(argv[optind]) > 0) {
^
main.cpp:1407:114: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
short tdtgUUID = APar_uuid_atom_Init("moov.udta.meta.uuid=%s", "tdtg", AtomFlags_Data_Text, formed_time, false);
^
main.cpp:1409:20: error: 'free' was not declared in this scope
free(formed_time);
^
main.cpp:1417:95: error: 'optarg' was not declared in this scope
short urlUUID = APar_uuid_atom_Init("moov.udta.meta.uuid=%s", "�url", AtomFlags_Data_Text, optarg, false);
^
main.cpp:1426:96: error: 'optarg' was not declared in this scope
short infoUUID = APar_uuid_atom_Init("moov.udta.meta.uuid=%s", "�inf", AtomFlags_Data_Text, optarg, false);
^
main.cpp:1449:21: error: 'optind' was not declared in this scope
if ( memcmp(argv[optind], "text", 5) == 0 || memcmp(argv[optind], "1", 2) == 0 ) uuid_dataType = AtomFlags_Data_Text;
^
main.cpp:1449:39: error: 'memcmp' was not declared in this scope
if ( memcmp(argv[optind], "text", 5) == 0 || memcmp(argv[optind], "1", 2) == 0 ) uuid_dataType = AtomFlags_Data_Text;
^
main.cpp:1450:21: error: 'optind' was not declared in this scope
if ( memcmp(argv[optind], "file", 5) == 0 ) {
^
main.cpp:1450:39: error: 'memcmp' was not declared in this scope
if ( memcmp(argv[optind], "file", 5) == 0 ) {
^
main.cpp:1456:51: error: 'strrchr' was not declared in this scope
uuid_file_extn = strrchr(uuid_file_path, '.'); //'.' inclusive; say goodbye to AP-0.8.8.tar.bz2
^
main.cpp:1470:47: error: 'strlen' was not declared in this scope
desc_len = strlen(uuid_file_description)+1; //+1 for the trailing 1 byte NULL terminator
^
main.cpp:1474:44: error: 'strlen' was not declared in this scope
mime_len = strlen(uuid_file_mimetype)+1; //+1 for the trailing 1 byte NULL terminator
^
main.cpp:1484:70: error: 'optarg' was not declared in this scope
short genericUUID = APar_uuid_atom_Init("moov.udta.meta.uuid=%s", optarg, uuid_dataType, argv[optind +1], true);
^
main.cpp:1484:98: error: 'optind' was not declared in this scope
short genericUUID = APar_uuid_atom_Init("moov.udta.meta.uuid=%s", optarg, uuid_dataType, argv[optind +1], true);
^
main.cpp:1508:46: error: 'strlen' was not declared in this scope
uint32_t extn_len = strlen(uuid_file_extn)+1; //+1 for the trailing 1 byte NULL terminator
^
main.cpp:1509:62: error: 'findFileSize' was not declared in this scope
uint32_t file_len = (uint32_t)findFileSize(uuid_file_path);
^
main.cpp:1528:5: error: 'FILE' was not declared in this scope
FILE* uuid_binfile = APar_OpenFile(uuid_file_path, "rb");
^
main.cpp:1528:11: error: 'uuid_binfile' was not declared in this scope
FILE* uuid_binfile = APar_OpenFile(uuid_file_path, "rb");
^
main.cpp:1528:60: error: 'APar_OpenFile' was not declared in this scope
FILE* uuid_binfile = APar_OpenFile(uuid_file_path, "rb");
^
main.cpp:1533:24: error: 'fclose' was not declared in this scope
fclose(uuid_binfile);
^
main.cpp:1545:8: error: 'optind' was not declared in this scope
if (optind + 1 == argc) {
^
main.cpp:1549:30: error: 'openSomeFile' was not declared in this scope
openSomeFile(m4afile, true);
^
main.cpp:1553:10: error: 'exit' was not declared in this scope
exit(0);//never gets here
^
main.cpp:1560:57: error: 'calloc' was not declared in this scope
char* uuid_path = (char*)calloc(1, sizeof(char)*256+1);
^
main.cpp:1562:59: error: 'memset' was not declared in this scope
char uuid_4char_name[16]; memset(uuid_4char_name, 0, 16);
^
main.cpp:1565:71: error: 'optarg' was not declared in this scope
UTF8Toisolat1((unsigned char*)&uuid_4char_name, 4, (unsigned char*)optarg, strlen(optarg) );
^
main.cpp:1565:92: error: 'strlen' was not declared in this scope
UTF8Toisolat1((unsigned char*)&uuid_4char_name, 4, (unsigned char*)optarg, strlen(optarg) );
^
main.cpp:1570:58: error: 'memcpy' was not declared in this scope
memcpy(uuid_path, "moov.udta.meta.uuid=%s", path_len-2);
^
main.cpp:1575:31: error: 'openSomeFile' was not declared in this scope
openSomeFile(m4afile, true);
^
main.cpp:1580:18: error: 'free' was not declared in this scope
free(uuid_path); uuid_path = NULL;
^
main.cpp:1582:10: error: 'exit' was not declared in this scope
exit(0);
^
main.cpp:1589:62: error: 'optarg' was not declared in this scope
char* compliant_name = (char*)malloc(sizeof(char)* strlen(optarg) +1);
^
main.cpp:1589:68: error: 'strlen' was not declared in this scope
char* compliant_name = (char*)malloc(sizeof(char)* strlen(optarg) +1);
^
main.cpp:1589:72: error: 'malloc' was not declared in this scope
char* compliant_name = (char*)malloc(sizeof(char)* strlen(optarg) +1);
^
main.cpp:1590:47: error: 'memset' was not declared in this scope
memset(compliant_name, 0, strlen(optarg) +1);
^
main.cpp:1593:30: error: 'strstr' was not declared in this scope
if (strstr(optarg, "uuid=") != NULL) {
^
main.cpp:1597:57: error: 'memcmp' was not declared in this scope
if (memcmp(compliant_name+uuid_path_pos, "uuid=", 5) == 0) {
^
main.cpp:1609:78: error: 'memcmp' was not declared in this scope
} else if (memcmp(compliant_name + (strlen(compliant_name) - 4), "data", 4) == 0) {
^
main.cpp:1613:5: error: 'size_t' was not declared in this scope
size_t string_len = strlen(compliant_name);
^
main.cpp:1613:12: error: expected ';' before 'string_len'
size_t string_len = strlen(compliant_name);
^
main.cpp:1615:65: error: 'string_len' was not declared in this scope
if (strstr(optarg, ":[") != NULL && memcmp(compliant_name + string_len-1, "]", 1) == 0 ) {
^
main.cpp:1628:23: error: 'free' was not declared in this scope
free(compliant_name);
^
main.cpp:1637:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style >= THIRD_GEN_PARTNER, 2, "title") ) {
^
main.cpp:1642:29: error: 'optind' was not declared in this scope
find_optional_args(argv, optind, packed_lang, set_UTF16_text, 2);
^
main.cpp:1644:69: error: 'optarg' was not declared in this scope
short title_3GP_atom = APar_UserData_atom_Init("moov.udta.titl", optarg, packed_lang);
^
main.cpp:1651:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style >= THIRD_GEN_PARTNER, 2, "author") ) {
^
main.cpp:1656:29: error: 'optind' was not declared in this scope
find_optional_args(argv, optind, packed_lang, set_UTF16_text, 2);
^
main.cpp:1658:70: error: 'optarg' was not declared in this scope
short author_3GP_atom = APar_UserData_atom_Init("moov.udta.auth", optarg, packed_lang);
^
main.cpp:1665:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style >= THIRD_GEN_PARTNER, 2, "performer") ) {
^
main.cpp:1670:29: error: 'optind' was not declared in this scope
find_optional_args(argv, optind, packed_lang, set_UTF16_text, 2);
^
main.cpp:1672:73: error: 'optarg' was not declared in this scope
short performer_3GP_atom = APar_UserData_atom_Init("moov.udta.perf", optarg, packed_lang);
^
main.cpp:1679:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style >= THIRD_GEN_PARTNER, 2, "genre") ) {
^
main.cpp:1684:29: error: 'optind' was not declared in this scope
find_optional_args(argv, optind, packed_lang, set_UTF16_text, 2);
^
main.cpp:1686:69: error: 'optarg' was not declared in this scope
short genre_3GP_atom = APar_UserData_atom_Init("moov.udta.gnre", optarg, packed_lang);
^
main.cpp:1693:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style >= THIRD_GEN_PARTNER, 2, "description") ) {
^
main.cpp:1698:29: error: 'optind' was not declared in this scope
find_optional_args(argv, optind, packed_lang, set_UTF16_text, 2);
^
main.cpp:1700:75: error: 'optarg' was not declared in this scope
short description_3GP_atom = APar_UserData_atom_Init("moov.udta.dscp", optarg, packed_lang);
^
main.cpp:1707:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style >= THIRD_GEN_PARTNER, 2, "copyright") ) {
^
main.cpp:1712:29: error: 'optind' was not declared in this scope
find_optional_args(argv, optind, packed_lang, set_UTF16_text, 2);
^
main.cpp:1714:73: error: 'optarg' was not declared in this scope
short copyright_3GP_atom = APar_UserData_atom_Init("moov.udta.cprt", optarg, packed_lang);
^
main.cpp:1726:29: error: 'optind' was not declared in this scope
find_optional_args(argv, optind, packed_lang, set_UTF16_text, 3);
^
main.cpp:1729:69: error: 'optarg' was not declared in this scope
short album_3GP_atom = APar_UserData_atom_Init("moov.udta.albm", optarg, packed_lang);
^
main.cpp:1735:47: error: 'memcmp' was not declared in this scope
if ( memcmp(argv[optind + i], "track=", 6) == 0 ) {
^
main.cpp:1737:28: error: 'strsep' was not declared in this scope
strsep(&track_num,"=");
^
main.cpp:1738:42: error: 'sscanf' was not declared in this scope
sscanf(track_num, "%hhu", &tracknum);
^
main.cpp:1748:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style >= THIRD_GEN_PARTNER, 2, "year") ) {
^
main.cpp:1752:11: error: 'optarg' was not declared in this scope
sscanf(optarg, "%hu", &year_tag);
^
main.cpp:1752:35: error: 'sscanf' was not declared in this scope
sscanf(optarg, "%hu", &year_tag);
^
main.cpp:1761:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style >= THIRD_GEN_PARTNER, 2, "rating") ) {
^
main.cpp:1768:29: error: 'optind' was not declared in this scope
find_optional_args(argv, optind, packed_lang, set_UTF16_text, 4);
^
main.cpp:1772:48: error: 'memcmp' was not declared in this scope
if ( memcmp(argv[optind + i], "entity=", 7) == 0 ) {
^
main.cpp:1774:25: error: 'strsep' was not declared in this scope
strsep(&entity,"=");
^
main.cpp:1775:39: error: 'memcpy' was not declared in this scope
memcpy(&rating_entity, entity, 4);
^
main.cpp:1777:50: error: 'memcmp' was not declared in this scope
if ( memcmp(argv[optind + i], "criteria=", 9) == 0 ) {
^
main.cpp:1779:27: error: 'strsep' was not declared in this scope
strsep(&criteria,"=");
^
main.cpp:1780:43: error: 'memcpy' was not declared in this scope
memcpy(&rating_criteria, criteria, 4);
^
main.cpp:1784:70: error: 'optarg' was not declared in this scope
short rating_3GP_atom = APar_UserData_atom_Init("moov.udta.rtng", optarg, packed_lang);
^
main.cpp:1794:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style >= THIRD_GEN_PARTNER, 2, "classification") ) {
^
main.cpp:1801:29: error: 'optind' was not declared in this scope
find_optional_args(argv, optind, packed_lang, set_UTF16_text, 4);
^
main.cpp:1805:48: error: 'memcmp' was not declared in this scope
if ( memcmp(argv[optind + i], "entity=", 7) == 0 ) {
^
main.cpp:1807:30: error: 'strsep' was not declared in this scope
strsep(&cls_entity, "=");
^
main.cpp:1808:51: error: 'memcpy' was not declared in this scope
memcpy(&classification_entity, cls_entity, 4);
^
main.cpp:1810:47: error: 'memcmp' was not declared in this scope
if ( memcmp(argv[optind + i], "index=", 6) == 0 ) {
^
main.cpp:1812:27: error: 'strsep' was not declared in this scope
strsep(&cls_idx, "=");
^
main.cpp:1813:51: error: 'sscanf' was not declared in this scope
sscanf(cls_idx, "%hu", &classification_index);
^
main.cpp:1817:78: error: 'optarg' was not declared in this scope
short classification_3GP_atom = APar_UserData_atom_Init("moov.udta.clsf", optarg, packed_lang);
^
main.cpp:1827:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style >= THIRD_GEN_PARTNER, 2, "keyword") ) {
^
main.cpp:1832:29: error: 'optind' was not declared in this scope
find_optional_args(argv, optind, packed_lang, set_UTF16_text, 3);
^
main.cpp:1834:16: error: 'optarg' was not declared in this scope
if (strrchr(optarg, '=') != NULL) { //must be in the format of: keywords=foo1,foo2,foo3,foo4
^
main.cpp:1834:27: error: 'strrchr' was not declared in this scope
if (strrchr(optarg, '=') != NULL) { //must be in the format of: keywords=foo1,foo2,foo3,foo4
^
main.cpp:1836:54: error: 'strsep' was not declared in this scope
char* keywords_globbed = strsep(&arg_keywords,"="); //separate out 'keyword='
^
main.cpp:1839:54: error: 'strlen' was not declared in this scope
uint32_t keyword_strlen = strlen(keywords_globbed);
^
main.cpp:1862:120: error: 'malloc' was not declared in this scope
char* formed_keyword_struct = (char*)malloc(sizeof(char)* set_UTF16_text ? keyword_strlen * 4 : keyword_strlen * 2); // *4 should carry utf16's BOM & TERM
^
main.cpp:1863:96: error: 'memset' was not declared in this scope
memset(formed_keyword_struct, 0, set_UTF16_text ? keyword_strlen * 4 : keyword_strlen * 2 );
^
main.cpp:1866:32: error: 'free' was not declared in this scope
free(formed_keyword_struct);
^
main.cpp:1877:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if ( !APar_assert(metadata_style >= THIRD_GEN_PARTNER, 2, "location") ) {
^
main.cpp:1882:29: error: 'optind' was not declared in this scope
find_optional_args(argv, optind, packed_lang, set_UTF16_text, 9);
^
main.cpp:1889:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
char* astronomical_body = "Earth";
^
main.cpp:1890:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
char* additional_notes = "no notes";
^
main.cpp:1894:52: error: 'memcmp' was not declared in this scope
if ( memcmp(argv[optind + i], "longitude=", 10) == 0 ) {
^
main.cpp:1896:24: error: 'strsep' was not declared in this scope
strsep(&_long,"=");
^
main.cpp:1897:38: error: 'sscanf' was not declared in this scope
sscanf(_long, "%lf", &longitude);
^
main.cpp:1898:29: error: 'strlen' was not declared in this scope
if (_long[strlen(_long)-1] == 'W') {
^
main.cpp:1902:50: error: 'memcmp' was not declared in this scope
if ( memcmp(argv[optind + i], "latitude=", 9) == 0 ) {
^
main.cpp:1904:24: error: 'strsep' was not declared in this scope
strsep(&_latt,"=");
^
main.cpp:1905:37: error: 'sscanf' was not declared in this scope
sscanf(_latt, "%lf", &latitude);
^
main.cpp:1906:29: error: 'strlen' was not declared in this scope
if (_latt[strlen(_latt)-1] == 'S') {
^
main.cpp:1910:50: error: 'memcmp' was not declared in this scope
if ( memcmp(argv[optind + i], "altitude=", 9) == 0 ) {
^
main.cpp:1912:24: error: 'strsep' was not declared in this scope
strsep(&_alti,"=");
^
main.cpp:1913:37: error: 'sscanf' was not declared in this scope
sscanf(_alti, "%lf", &altitude);
^
main.cpp:1914:29: error: 'strlen' was not declared in this scope
if (_alti[strlen(_alti)-1] == 'B') {
^
main.cpp:1918:46: error: 'memcmp' was not declared in this scope
if ( memcmp(argv[optind + i], "role=", 5) == 0 ) {
^
main.cpp:1920:24: error: 'strsep' was not declared in this scope
strsep(&_role,"=");
^
main.cpp:1921:49: error: 'strncmp' was not declared in this scope
if (strncmp(_role, "shooting location", 17) == 0 || strncmp(_role, "shooting", 8) == 0) {
^
main.cpp:1929:46: error: 'memcmp' was not declared in this scope
if ( memcmp(argv[optind + i], "body=", 5) == 0 ) {
^
main.cpp:1931:29: error: 'strsep' was not declared in this scope
strsep(&_astrobody,"=");
^
main.cpp:1934:47: error: 'memcmp' was not declared in this scope
if ( memcmp(argv[optind + i], "notes=", 6) == 0 ) {
^
main.cpp:1936:29: error: 'strsep' was not declared in this scope
strsep(&_add_notes,"=");
^
main.cpp:1945:13: error: 'stdout' was not declared in this scope
fprintf(stdout, "AtomicParsley warning: longitude or latitude was invalid; skipping setting location\n");
^
main.cpp:1945:108: error: 'fprintf' was not declared in this scope
fprintf(stdout, "AtomicParsley warning: longitude or latitude was invalid; skipping setting location\n");
^
main.cpp:1948:73: error: 'optarg' was not declared in this scope
short location_3GP_atom = APar_UserData_atom_Init("moov.udta.loci", optarg, packed_lang);
^
main.cpp:1969:29: error: 'optind' was not declared in this scope
find_optional_args(argv, optind, packed_lang, set_UTF16_text, 3);
^
main.cpp:1973:46: error: 'memcmp' was not declared in this scope
if ( memcmp(argv[optind + i], "movie", 6) == 0 ) {
^
main.cpp:1975:47: error: 'memcmp' was not declared in this scope
if ( memcmp(argv[optind + i], "track=", 6) == 0 ) {
^
main.cpp:1977:28: error: 'strsep' was not declared in this scope
strsep(&trak_idx, "=");
^
main.cpp:1978:48: error: 'sscanf' was not declared in this scope
sscanf(trak_idx, "%hhu", &selected_tracks);
^
main.cpp:1984:58: error: 'memcmp' was not declared in this scope
if (optind+1 < argc && memcmp(argv[optind+1], "--", 2) == 0) {
^
main.cpp:1989:34: error: 'optarg' was not declared in this scope
APar_ISO_UserData_Set("cprt", optarg, copyright_area, selected_tracks, packed_lang, set_UTF16_text);
^
main.cpp:2020:13: error: 'optind' was not declared in this scope
if (argv[optind]) {
^
main.cpp:2021:43: error: 'sscanf' was not declared in this scope
sscanf(argv[optind], "%i", &free_level);
^
main.cpp:2040:30: error: 'openSomeFile' was not declared in this scope
openSomeFile(m4afile, true);
^
main.cpp:2053:10: error: 'exit' was not declared in this scope
exit(0); //das right, this is a flag that doesn't get used with other flags.
^
main.cpp:2057:18: error: 'optarg' was not declared in this scope
output_file = optarg;
^
main.cpp:2067:29: error: 'openSomeFile' was not declared in this scope
openSomeFile(m4afile, true);
^
main.cpp:2074:18: error: 'NULL' was not declared in this scope
if (m4afile != NULL && argc > 3 && !tree_display_only) {
^
main.cpp:2075:12: error: 'stdout' was not declared in this scope
fprintf(stdout, "No changes.\n");
^
main.cpp:2075:35: error: 'fprintf' was not declared in this scope
fprintf(stdout, "No changes.\n");
^
Linking AtomicParsley...
++: error: obj_files/APar_sha1.o: No such file or directory
++: error: obj_files/APar_uuid.o: No such file or directory
++: error: obj_files/AP_commons.o: No such file or directory
++: error: obj_files/AtomicParsley_genres.o: No such file or directory
++: error: obj_files/AP_iconv.o: No such file or directory
++: error: obj_files/AP_AtomExtracts.o: No such file or directory
++: error: obj_files/AtomicParsley.o: No such file or directory
++: error: obj_files/main.o: No such file or directory
++: fatal error: no input files
compilation terminated.
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'AtomicParsley': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...