Closed yarikmsu closed 3 years ago
Error on my Mac:
/Users/anton-dedov/personal/src/libiqxmlrpc/tests/test_value_usage.cc:29:9: error: conversion from 'long' to 'iqxmlrpc::Value' is ambiguous Value vi64 = 5000000000L; ^ ~~~ /Users/anton-dedov/personal/src/libiqxmlrpc/libiqxmlrpc/value.h:35:3: note: candidate constructor Value( int ); ^ /Users/anton-dedov/personal/src/libiqxmlrpc/libiqxmlrpc/value.h:36:3: note: candidate constructor Value( int64_t ); ^ /Users/anton-dedov/personal/src/libiqxmlrpc/libiqxmlrpc/value.h:37:3: note: candidate constructor Value( bool ); ^ /Users/anton-dedov/personal/src/libiqxmlrpc/libiqxmlrpc/value.h:38:3: note: candidate constructor Value( double ); ^
Error on my Mac:
/Users/anton-dedov/personal/src/libiqxmlrpc/tests/test_value_usage.cc:29:9: error: conversion from 'long' to 'iqxmlrpc::Value' is ambiguous Value vi64 = 5000000000L; ^
~~~ /Users/anton-dedov/personal/src/libiqxmlrpc/libiqxmlrpc/value.h:35:3: note: candidate constructor Value( int ); ^ /Users/anton-dedov/personal/src/libiqxmlrpc/libiqxmlrpc/value.h:36:3: note: candidate constructor Value( int64_t ); ^ /Users/anton-dedov/personal/src/libiqxmlrpc/libiqxmlrpc/value.h:37:3: note: candidate constructor Value( bool ); ^ /Users/anton-dedov/personal/src/libiqxmlrpc/libiqxmlrpc/value.h:38:3: note: candidate constructor Value( double ); ^