Problem with cross-compiler compiling under Cygwin

Programming, for all ages and all languages.
User avatar
Jvac
Member
Member
Posts: 58
Joined: Fri Mar 11, 2011 9:51 pm
Location: Bronx, NY

Re: Problem with cross-compiler compiling under Cygwin

Post by Jvac »

This sample is an arm-none-eabi cross compiling under cygwin. I got a few warnings but that is ok. Just have to update my code a little bit.

See guys Cygwin works. =D>

Code: Select all

myPC ~/Configure/Libraries/GeneralPurpose/arm
$ make
Creating Make.dependencies
Finished creating Make.dependencies
Compiling ../../../../Libraries/GeneralPurpose/Portable/Assert.cc
Compiling ../../../../Libraries/GeneralPurpose/Portable/Byte.cc
Compiling ../../../../Libraries/GeneralPurpose/Portable/Convert.cc
../../../../Libraries/GeneralPurpose/Portable/Convert.cc: In function 'char* SkipWhite(char*)':
../../../../Libraries/GeneralPurpose/Portable/Convert.cc:22:30: warning: array subscript has type 'char' [-Wchar-subscripts]
../../../../Libraries/GeneralPurpose/Portable/Convert.cc: In function 'int atoi(char*, int)':
../../../../Libraries/GeneralPurpose/Portable/Convert.cc:52:30: warning: array subscript has type 'char' [-Wchar-subscripts]
../../../../Libraries/GeneralPurpose/Portable/Convert.cc: In function 'double atof(char*)':
../../../../Libraries/GeneralPurpose/Portable/Convert.cc:87:30: warning: array subscript has type 'char' [-Wchar-subscripts]
../../../../Libraries/GeneralPurpose/Portable/Convert.cc:96:31: warning: array subscript has type 'char' [-Wchar-subscripts]
Compiling ../../../../Libraries/GeneralPurpose/Portable/Ctype.cc
Compiling ../../../../Libraries/GeneralPurpose/Portable/String.cc
Compiling ../../../../Libraries/GeneralPurpose/Portable/Random.cc
Compiling ../../../../Libraries/GeneralPurpose/Portable/Ran.cc
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '2586939449u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '2607165826u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '3728441824u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '3742003125u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '4043553794u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '3199327152u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '2874956056u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '2489668861u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '2351851535u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '3946674591u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '2971590839u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '3664195114u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '3815338845u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '2421110263u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '3608514518u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '2895441884u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '3324166808u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '4121176760u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '2324223867u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '4121795854u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:152:1: warning: narrowing conversion of '2308514315u' from 'unsigned int' to 'long int' inside { } is ill-formed in C++11 [-Wnarrowing]
../../../../Libraries/GeneralPurpose/Portable/Ran.cc: In function 'void srandom(u_int)':
../../../../Libraries/GeneralPurpose/Portable/Ran.cc:202:18: warning: variable 'j' set but not used [-Wunused-but-set-variable]
Compiling ../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc: In member function 'int BitRanges::borderSearch(unsigned int, int)':
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc:34:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc:34:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc:87:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc:87:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc: In member function 'int BitRanges::inRange(unsigned int, unsigned int&, unsigned int&)':
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc:94:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc:94:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc: In member function 'int BitRanges::alloc(unsigned int)':
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc:114:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc:114:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc: In member function 'int BitRanges::alloc(unsigned int, unsigned int)':
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc:139:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc:139:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc: In member function 'int BitRanges::free(unsigned int)':
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc:165:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc:165:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc: In member function 'int BitRanges::free(unsigned int, unsigned int)':
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc:203:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitRanges.cc:203:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Compiling ../../../../Libraries/GeneralPurpose/Portable/BitArray.cc
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc: In member function 'int IntBitArray::bitSearch(unsigned int, int, int)':
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:53:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:53:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc: In member function 'void BitArray::set(unsigned int)':
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:119:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:119:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc: In member function 'void BitArray::set(unsigned int, unsigned int)':
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:126:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:126:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc: In member function 'int BitArray::get(unsigned int)':
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:152:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:152:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc: In member function 'int BitArray::get(unsigned int, unsigned int)':
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:159:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:159:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc: In member function 'void BitArray::clear(unsigned int)':
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:190:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:190:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc: In member function 'void BitArray::clear(unsigned int, unsigned int)':
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:197:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:197:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc: In member function 'void BitArray::invert(unsigned int)':
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:221:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:221:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc: In member function 'void BitArray::invert(unsigned int, unsigned int)':
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:228:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:228:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc: In member function 'int BitArray::bitSearch(unsigned int, int, int)':
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:250:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:250:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:251:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/BitArray.cc:251:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Compiling ../../../../Libraries/GeneralPurpose/Portable/LightHashTable.cc
In file included from ../../../../Includes/Libraries/GeneralPurpose/LightList.h:29:0,
                 from ../../../../Includes/Libraries/GeneralPurpose/LightHashTable.h:28,
                 from ../../../../Libraries/GeneralPurpose/Portable/LightHashTable.cc:23:
../../../../Includes/Libraries/GeneralPurpose/List.h: In constructor 'CountingList::CountingList(Link*, int)':
../../../../Includes/Libraries/GeneralPurpose/List.h:193:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h:193:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h: In constructor 'HintList::HintList(Link*, int)':
../../../../Includes/Libraries/GeneralPurpose/List.h:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightHashTable.cc: In member function 'virtual LightList* _lht_table::operator[](int)':
../../../../Libraries/GeneralPurpose/Portable/LightHashTable.cc:57:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightHashTable.cc:57:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightHashTable.cc: In constructor 'LightHashTable::LightHashTable(int, PFSV)':
../../../../Libraries/GeneralPurpose/Portable/LightHashTable.cc:70:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightHashTable.cc:70:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightHashTable.cc: In member function 'virtual void LightHashTable::insert(SLink*)':
../../../../Libraries/GeneralPurpose/Portable/LightHashTable.cc:150:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightHashTable.cc:150:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Compiling ../../../../Libraries/GeneralPurpose/Portable/AssocTable.cc
In file included from ../../../../Includes/Libraries/GeneralPurpose/HashTable.h:30:0,
                 from ../../../../Includes/Libraries/GeneralPurpose/MultiHashTable.h:29,
                 from ../../../../Includes/Libraries/GeneralPurpose/AssocTable.h:28,
                 from ../../../../Libraries/GeneralPurpose/Portable/AssocTable.cc:26:
../../../../Includes/Libraries/GeneralPurpose/List.h: In constructor 'CountingList::CountingList(Link*, int)':
../../../../Includes/Libraries/GeneralPurpose/List.h:193:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h:193:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h: In constructor 'HintList::HintList(Link*, int)':
../../../../Includes/Libraries/GeneralPurpose/List.h:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/AssocTable.cc: In member function 'virtual HintList* _at_table::operator[](int)':
../../../../Libraries/GeneralPurpose/Portable/AssocTable.cc:95:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/AssocTable.cc:95:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/AssocTable.cc: In constructor 'AssocTable::AssocTable(int, PFIVUV)':
../../../../Libraries/GeneralPurpose/Portable/AssocTable.cc:103:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/AssocTable.cc:103:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Compiling ../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc
In file included from ../../../../Includes/Libraries/GeneralPurpose/HashTable.h:30:0,
                 from ../../../../Includes/Libraries/GeneralPurpose/MultiHashTable.h:29,
                 from ../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc:33:
../../../../Includes/Libraries/GeneralPurpose/List.h: In constructor 'CountingList::CountingList(Link*, int)':
../../../../Includes/Libraries/GeneralPurpose/List.h:193:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h:193:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h: In constructor 'HintList::HintList(Link*, int)':
../../../../Includes/Libraries/GeneralPurpose/List.h:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc: In member function 'virtual int _mht_entry::hash(int)':
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc:59:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc:59:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc: In member function 'virtual int _mht_entry::compare(Link*)':
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc:79:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc:79:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc: In member function 'virtual void _mht_entry::inspect()':
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc:98:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc:98:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc: In member function 'virtual HintList* _mht_table::operator[](int)':
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc:124:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc:124:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc: In constructor 'MultiHashTable::MultiHashTable(int, PFIVV)':
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc:132:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc:132:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc: In member function 'virtual int MultiHashTable::isIn(_mht_entry*, int)':
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc:149:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/MultiHashTable.cc:149:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Compiling ../../../../Libraries/GeneralPurpose/Portable/MultiLevelTable.cc
../../../../Libraries/GeneralPurpose/Portable/MultiLevelTable.cc: In member function 'int* MultiLevelTable::newChunk()':
../../../../Libraries/GeneralPurpose/Portable/MultiLevelTable.cc:59:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/MultiLevelTable.cc:59:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/MultiLevelTable.cc: In member function 'int** MultiLevelTable::newIndex()':
../../../../Libraries/GeneralPurpose/Portable/MultiLevelTable.cc:68:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/MultiLevelTable.cc:68:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/MultiLevelTable.cc: In constructor 'BitsMultiLevelTable::BitsMultiLevelTable(int, int, int)':
../../../../Libraries/GeneralPurpose/Portable/MultiLevelTable.cc:143:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/MultiLevelTable.cc:143:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Compiling ../../../../Libraries/GeneralPurpose/Portable/HashTable.cc
In file included from ../../../../Includes/Libraries/GeneralPurpose/HashTable.h:30:0,
                 from ../../../../Libraries/GeneralPurpose/Portable/HashTable.cc:23:
../../../../Includes/Libraries/GeneralPurpose/List.h: In constructor 'CountingList::CountingList(Link*, int)':
../../../../Includes/Libraries/GeneralPurpose/List.h:193:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h:193:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h: In constructor 'HintList::HintList(Link*, int)':
../../../../Includes/Libraries/GeneralPurpose/List.h:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/HashTable.cc: In member function 'virtual HintList* _ht_table::operator[](int)':
../../../../Libraries/GeneralPurpose/Portable/HashTable.cc:33:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/HashTable.cc:33:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/HashTable.cc: In member function 'virtual void HashTable::insert(Link*)':
../../../../Libraries/GeneralPurpose/Portable/HashTable.cc:87:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/HashTable.cc:87:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Compiling ../../../../Libraries/GeneralPurpose/Portable/NVList.cc
In file included from ../../../../Includes/Libraries/GeneralPurpose/LightList.h:29:0,
                 from ../../../../Includes/Libraries/GeneralPurpose/NVList.h:34,
                 from ../../../../Libraries/GeneralPurpose/Portable/NVList.cc:31:
../../../../Includes/Libraries/GeneralPurpose/List.h: In constructor 'CountingList::CountingList(Link*, int)':
../../../../Includes/Libraries/GeneralPurpose/List.h:193:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h:193:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h: In constructor 'HintList::HintList(Link*, int)':
../../../../Includes/Libraries/GeneralPurpose/List.h:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/NVList.cc: In member function 'SLink* NVList::remove(SLink*, int, NVListVirtualiser*)':
../../../../Libraries/GeneralPurpose/Portable/NVList.cc:82:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/NVList.cc:82:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Compiling ../../../../Libraries/GeneralPurpose/Portable/LightList.cc
In file included from ../../../../Includes/Libraries/GeneralPurpose/LightList.h:29:0,
                 from ../../../../Libraries/GeneralPurpose/Portable/LightList.cc:25:
../../../../Includes/Libraries/GeneralPurpose/List.h: In constructor 'CountingList::CountingList(Link*, int)':
../../../../Includes/Libraries/GeneralPurpose/List.h:193:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h:193:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h: In constructor 'HintList::HintList(Link*, int)':
../../../../Includes/Libraries/GeneralPurpose/List.h:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightList.cc: In member function 'SLink* LightList::find(SLink*, LightListVirtualiser*)':
../../../../Libraries/GeneralPurpose/Portable/LightList.cc:49:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightList.cc:49:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightList.cc: In member function 'SLink* LightList::find(SLink*, int, LightListVirtualiser*)':
../../../../Libraries/GeneralPurpose/Portable/LightList.cc:64:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightList.cc:64:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightList.cc: In member function 'void LightList::add(SLink*, SLink*, int)':
../../../../Libraries/GeneralPurpose/Portable/LightList.cc:83:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightList.cc:83:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightList.cc:84:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightList.cc:84:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightList.cc:87:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightList.cc:87:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightList.cc: In member function 'SLink* LightList::remove(SLink*, int, LightListVirtualiser*)':
../../../../Libraries/GeneralPurpose/Portable/LightList.cc:101:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightList.cc:101:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightList.cc: In member function 'SLink* LightList::nthElem(int)':
../../../../Libraries/GeneralPurpose/Portable/LightList.cc:142:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightList.cc:142:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightList.cc: In member function 'int LightList::sublist(int, int, SLink*&, SLink*&)':
../../../../Libraries/GeneralPurpose/Portable/LightList.cc:159:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/LightList.cc:159:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Compiling ../../../../Libraries/GeneralPurpose/Portable/List.cc
In file included from ../../../../Libraries/GeneralPurpose/Portable/List.cc:31:0:
../../../../Includes/Libraries/GeneralPurpose/List.h: In constructor 'CountingList::CountingList(Link*, int)':
../../../../Includes/Libraries/GeneralPurpose/List.h:193:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h:193:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h: In constructor 'HintList::HintList(Link*, int)':
../../../../Includes/Libraries/GeneralPurpose/List.h:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/List.cc: In member function 'virtual Link* List::find(Link*)':
../../../../Libraries/GeneralPurpose/Portable/List.cc:43:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/List.cc:43:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/List.cc: In member function 'virtual Link* List::find(Link*, int)':
../../../../Libraries/GeneralPurpose/Portable/List.cc:59:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/List.cc:59:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/List.cc: In member function 'virtual void List::add(Link*, Link*, int)':
../../../../Libraries/GeneralPurpose/Portable/List.cc:81:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/List.cc:81:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/List.cc:84:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/List.cc:84:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/List.cc:92:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/List.cc:92:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/List.cc: In member function 'virtual Link* List::remove(Link*, int)':
../../../../Libraries/GeneralPurpose/Portable/List.cc:102:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/List.cc:102:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Compiling ../../../../Libraries/GeneralPurpose/Portable/LinkIterator.cc
In file included from ../../../../Libraries/GeneralPurpose/Portable/LinkIterator.cc:30:0:
../../../../Includes/Libraries/GeneralPurpose/LinkIterator.h: In member function 'virtual int SLinkIterator::isEmpty()':
../../../../Includes/Libraries/GeneralPurpose/LinkIterator.h:89:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/LinkIterator.h:89:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Compiling ../../../../Libraries/GeneralPurpose/Portable/Link.cc
../../../../Libraries/GeneralPurpose/Portable/Link.cc: In member function 'SLink* SLink::find(SLink*, LinkVirtualiser*)':
../../../../Libraries/GeneralPurpose/Portable/Link.cc:172:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/Link.cc:172:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/Link.cc: In member function 'SLink* SLink::find(SLink*, int, LinkVirtualiser*)':
../../../../Libraries/GeneralPurpose/Portable/Link.cc:188:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/Link.cc:188:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/Link.cc: In member function 'SLink* SLink::nthElem(int, LinkVirtualiser*)':
../../../../Libraries/GeneralPurpose/Portable/Link.cc:207:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/Link.cc:207:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/Link.cc: In member function 'int SLink::sublist(int, int, SLink*&, SLink*&, LinkVirtualiser*)':
../../../../Libraries/GeneralPurpose/Portable/Link.cc:221:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/Link.cc:221:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/Link.cc: In member function 'virtual Link* Link::find(Link*)':
../../../../Libraries/GeneralPurpose/Portable/Link.cc:269:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/Link.cc:269:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/Link.cc: In member function 'virtual Link* Link::find(Link*, int)':
../../../../Libraries/GeneralPurpose/Portable/Link.cc:282:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/Link.cc:282:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/Link.cc: In member function 'virtual Link* Link::nthElem(int)':
../../../../Libraries/GeneralPurpose/Portable/Link.cc:298:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/Link.cc:298:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/Link.cc: In member function 'virtual int Link::sublist(int, int, Link*&, Link*&)':
../../../../Libraries/GeneralPurpose/Portable/Link.cc:311:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/Link.cc:311:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Compiling ../../../../Libraries/GeneralPurpose/Portable/IteratingList.cc
In file included from ../../../../Includes/Libraries/GeneralPurpose/IteratingList.h:33:0,
                 from ../../../../Libraries/GeneralPurpose/Portable/IteratingList.cc:28:
../../../../Includes/Libraries/GeneralPurpose/List.h: In constructor 'CountingList::CountingList(Link*, int)':
../../../../Includes/Libraries/GeneralPurpose/List.h:193:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h:193:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h: In constructor 'HintList::HintList(Link*, int)':
../../../../Includes/Libraries/GeneralPurpose/List.h:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/List.h:246:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
In file included from ../../../../Libraries/GeneralPurpose/Portable/IteratingList.cc:29:0:
../../../../Includes/Libraries/GeneralPurpose/LinkIterator.h: In member function 'virtual int SLinkIterator::isEmpty()':
../../../../Includes/Libraries/GeneralPurpose/LinkIterator.h:89:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Includes/Libraries/GeneralPurpose/LinkIterator.h:89:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/IteratingList.cc: In destructor 'virtual IteratingList::~IteratingList()':
../../../../Libraries/GeneralPurpose/Portable/IteratingList.cc:57:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/IteratingList.cc:57:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Compiling ../../../../Libraries/GeneralPurpose/Portable/StringInputStream.cc
../../../../Libraries/GeneralPurpose/Portable/StringInputStream.cc: In member function 'char StringInputStream::ungetc(char)':
../../../../Libraries/GeneralPurpose/Portable/StringInputStream.cc:109:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/StringInputStream.cc:109:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
../../../../Libraries/GeneralPurpose/Portable/StringInputStream.cc: In member function 'int StringInputStream::_innum(int**, int, int, int, int*)':
../../../../Libraries/GeneralPurpose/Portable/StringInputStream.cc:258:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
../../../../Libraries/GeneralPurpose/Portable/StringInputStream.cc:258:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
Compiling linkfix.c
linkfix.c:10:32: warning: 'struct stat' declared inside parameter list [enabled by default]
linkfix.c:10:32: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
linkfix.c: In function 'exit':
linkfix.c:5:1: warning: 'noreturn' function does return [enabled by default]
rm -f libG.a
arm-none-eabi-ar cr libG.a Assert.o Byte.o Convert.o Ctype.o String.o Random.o Ran.o BitRanges.o BitArray.o LightHashTable.o AssocTable.o MultiHashTable.o MultiLevelTable.o HashTable.o NVList.o LightList.o List.o LinkIterator.o Link.o IteratingList.o StringInputStream.o linkfix.o
arm-none-eabi-ranlib libG.a

myPC ~ /Configure/Libraries/GeneralPurpose/arm
$
"The best way to prepare for programming is to write programs, and
to study great programs that other people have written." - Bill Gates


Think beyond Windows ReactOS®
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Problem with cross-compiler compiling under Cygwin

Post by Combuster »

I got a few warnings but that is ok.
In the meantime I'm going to have nightmares about writable strings :shock:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Jvac
Member
Member
Posts: 58
Joined: Fri Mar 11, 2011 9:51 pm
Location: Bronx, NY

Re: Problem with cross-compiler compiling under Cygwin

Post by Jvac »

Lol combuster not a problem; that code just need to be updated to c++11 or 14. I haven't spend much time in it I have abandon that project for some time. But soon I will give it a face lift.

Thanks everyone any how I did learn from this thread on how to invoke Compilers.
"The best way to prepare for programming is to write programs, and
to study great programs that other people have written." - Bill Gates


Think beyond Windows ReactOS®
Post Reply