Marc,
>
>
>> I am trying to use the open source libDAI library and am having several
>> errors and
>> warnings with the mpirxx.h file, for instance:
>>
>> Error 1 error C4146: unary minus operator applied to unsigned type,
>> result still unsigned
>> C:\Program Files (x86)\Microsoft Visual
Brian (Marc, Leif)
You all were right about these issue:
>> Error1error C4146: unary minus operator applied to unsigned type, result
>> still unsigned
The "treat warning as errors" option was already set to NO, and still got
that error but I got rid of it by setting the SDL checks to NO.
On 31/05/2014 01:11, leif wrote:
> Brian Gladman wrote:
>> On 30/05/2014 22:56, Marc wrote:
>>
>>> Le vendredi 30 mai 2014 23:21:49 UTC+2, Cactus a écrit :
>>>
>>> If you are suggesting that the line:
>>>
>>>__mpz_set_ui_safe(p, -static_cast(l));
>>>
>>> would be better expressed
Brian Gladman wrote:
On 30/05/2014 22:56, Marc wrote:
Le vendredi 30 mai 2014 23:21:49 UTC+2, Cactus a écrit :
If you are suggesting that the line:
__mpz_set_ui_safe(p, -static_cast(l));
would be better expressed as:
__mpz_set_ui_safe(p, static_cast(-l));
I can
On 30/05/2014 22:56, Marc wrote:
> Le vendredi 30 mai 2014 23:21:49 UTC+2, Cactus a écrit :
>
> If you are suggesting that the line:
>
> __mpz_set_ui_safe(p, -static_cast(l));
>
> would be better expressed as:
>
> __mpz_set_ui_safe(p, static_cast(-l));
>
> I can only a
Le vendredi 30 mai 2014 23:21:49 UTC+2, Cactus a écrit :
>
> On 30/05/2014 21:27, leif wrote:
>
> >> Error1error C4146: unary minus operator applied to unsigned type,
> result
> >> still unsigned
> >> C:\Program Files (x86)\Microsoft Visual Studio
> >> 12.0\VC\include\mpirxx.h1181GBP1
> >
>
On 30/05/2014 21:27, leif wrote:
>> Error1error C4146: unary minus operator applied to unsigned type, result
>> still unsigned
>> C:\Program Files (x86)\Microsoft Visual Studio
>> 12.0\VC\include\mpirxx.h1181GBP1
>
> Line 118 really looks a bit weird; the minus should IMHO precede 'l':
If you ar
On 30 May 2014 22:27, leif wrote:
> Guillermo Ramírez wrote:
>
>> Hello Brian,
>>
>> >However, many people do run into problems when they build x64
>> >applications on Windows becasue they wrongly assume that long types have
>> >64-bits when in fact these types have 32-bits on Windows. To obt
On 30/05/2014 21:19, Marc wrote:
> Le vendredi 30 mai 2014 21:24:49 UTC+2, Guillermo Ramírez a écrit :
>
> Does the above mean that the user needs to change the mpirxx.h file
> to a specific
> arithmetic type?
>
> No, the user shouldn't touch mpirxx.h.
>
>
> I am trying to use
Guillermo Ramírez wrote:
Hello Brian,
>However, many people do run into problems when they build x64
>applications on Windows becasue they wrongly assume that long types have
>64-bits when in fact these types have 32-bits on Windows. To obtain a
>64-bit type 'long long' has to be used.
>M
Le vendredi 30 mai 2014 21:24:49 UTC+2, Guillermo Ramírez a écrit :
> Does the above mean that the user needs to change the mpirxx.h file to a
> specific
> arithmetic type?
>
No, the user shouldn't touch mpirxx.h.
> I am trying to use the open source libDAI library and am having several
> e
Hello Brian,
>However, many people do run into problems when they build x64
>applications on Windows becasue they wrongly assume that long types have
>64-bits when in fact these types have 32-bits on Windows. To obtain a
>64-bit type 'long long' has to be used.
>MPIR itself has two predefine
Hi Leif,
I thought the mpirxx.h files should be generated/updated when building the
mpir library. I assumed that because I got some other errors when using the
default tarball/zip file, thanks for clarifying that.
Brian already commented something else that is related to this issues, I
will
On 30/05/2014 00:25, Guillermo Ramírez wrote:
> Hi,
>
> I followed the instructions on the MPIR 2.7.0 manual on how to build
> MPIR with Microsoft Visual Studio. I am using VS2013 and a x64 system
> with i5 core. I also did the suggested testing for
> MPIR mpir/build.vc12/mpir-tests/run-tests.py a
Guillermo Ramírez wrote:
Hi,
I followed the instructions on the MPIR 2.7.0 manual on how to build
MPIR with Microsoft Visual Studio. I am using VS2013 and a x64 system
with i5 core. I also did the suggested testing for
MPIR mpir/build.vc12/mpir-tests/run-tests.py and it worked.
However, the hea
Hi,
I followed the instructions on the MPIR 2.7.0 manual on how to build MPIR
with Microsoft Visual Studio. I am using VS2013 and a x64 system with i5
core. I also did the suggested testing for
MPIR mpir/build.vc12/mpir-tests/run-tests.py and it worked.
However, the header file mpirxx.h is no
16 matches
Mail list logo