bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Some compile warnings


From: Blake McBride
Subject: [Bug-apl] Some compile warnings
Date: Tue, 15 Apr 2014 13:20:46 -0500

Archive.cc: In member function ‘void XML_Saving_Archive::emit_cell(const Cell&, int&, bool&)’:
Archive.cc:229:71: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘APL_Integer {aka long int}’ [-Wformat=]
                  snprintf(cc, sizeof(cc), "%lld", cell.get_int_value());
                                                                       ^
Archive.cc:229:71: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘APL_Integer {aka long int}’ [-Wformat=]
LApack.cc:418:2: warning: #warning liblapack not found or not installed. ⌹ will not work. [-Wcpp]
 #warning liblapack not found or not installed. ⌹ will not work.
  ^
Symbol.cc: In member function ‘void Symbol::write_OUT(FILE*, uint64_t&) const’:
Symbol.cc:1046:58: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=]
                 sprintf(buffer + 72, "%8.8lld\r\n", seq++);
                                                          ^
Tokenizer.cc: In member function ‘bool Tokenizer::tokenize_real(Source<Unicode>&, APL_Float&, APL_Integer&)’:
Tokenizer.cc:657:63: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘APL_Integer* {aka long int*}’ [-Wformat=]
                           sscanf(utf.c_str(), "%lld", &int_val);
                                                               ^
UCS_string.cc: In member function ‘void UCS_string::append_number(ShapeItem)’:
UCS_string.cc:562:44: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘ShapeItem {aka long int}’ [-Wformat=]
    snprintf(cc, sizeof(cc) - 1, "%lld", num);
                                            ^
UCS_string.cc:562:44: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘ShapeItem {aka long int}’ [-Wformat=]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]