bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Some compile warnings


From: Juergen Sauermann
Subject: Re: [Bug-apl] Some compile warnings
Date: Thu, 17 Apr 2014 17:47:06 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Blake,

thanks, fixed in SVN 210.

/// Jürgen


On 04/15/2014 08:20 PM, Blake McBride wrote:
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]