C2041 illegal digit 'U' for base '10' (compiling source file capfloor.cpp)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

C2041 illegal digit 'U' for base '10' (compiling source file capfloor.cpp)

Andrew Leach
Hi,

Due to an error I made with my source control I have had to download and recompile QuantLib-1.10.

This time (and not the last) I've got the following error:

Severity Code Description Project File Line Suppression State
Error C2041 illegal digit 'U' for base '10' (compiling source file capfloor.cpp) testsuite D:\local\boost_1_64_0\boost\preprocessor\slot\detail\shared.hpp 159

Has anything changed? How do I fix this please?

Thanks,
Andrew
-------
Internet communications are not secure and therefore Andrew Leach does not accept legal responsibility for the contents of this message.  The information contained in this email is private, personal and confidential and may be legally privileged.  It is intended solely for the addressee.  If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. This email and any attachments have been automatically scanned for viruses prior to dispatch, but we make no warranty that they are free from computer viruses.  You are advised to check all emails and attachments using your own anti virus software before opening or executing them.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: C2041 illegal digit 'U' for base '10' (compiling source file capfloor.cpp)

Fabrice Lecuyer

Hi Andrew,

 

I’ve seen this error appear quite randomly when using VS2017 (not sure this is related). Usually, closing, reopening VS2017 and forcing a complete rebuild removes the issue on my side, so I’ve never had to dig much more than that.

Hope it works for you. If you find out the root cause, I’d be keen to know.

 

Regards,

Fabrice

 

From: Andrew Leach [mailto:[hidden email]]
Sent: Saturday, 29 July 2017 1:42 PM
To: QuantLib users <[hidden email]>
Subject: [Quantlib-users] C2041 illegal digit 'U' for base '10' (compiling source file capfloor.cpp)

 

Hi,

 

Due to an error I made with my source control I have had to download and recompile QuantLib-1.10.

 

This time (and not the last) I've got the following error:

 

Severity               Code      Description         Project  File               Line        Suppression State

Error      C2041   illegal digit 'U' for base '10' (compiling source file capfloor.cpp)          testsuite D:\local\boost_1_64_0\boost\preprocessor\slot\detail\shared.hpp               159       

 

Has anything changed? How do I fix this please?

 

Thanks,

Andrew

-------
Internet communications are not secure and therefore Andrew Leach does not accept legal responsibility for the contents of this message.  The information contained in this email is private, personal and confidential and may be legally privileged.  It is intended solely for the addressee.  If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. This email and any attachments have been automatically scanned for viruses prior to dispatch, but we make no warranty that they are free from computer viruses.  You are advised to check all emails and attachments using your own anti virus software before opening or executing them.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: C2041 illegal digit 'U' for base '10' (compiling source file capfloor.cpp)

Andrew Leach
Hi Fabrice,

You were right, thank you. How strange!! I'm afraid I won't be able to diagnose the problem as I'm at the bottom of the steep learning curve for learning C++, VS, and git, so haven't the skills yet but the will come quickly!!

Merci pour votre solution.
Andrew

-------
Internet communications are not secure and therefore Andrew Leach does not accept legal responsibility for the contents of this message.  The information contained in this email is private, personal and confidential and may be legally privileged.  It is intended solely for the addressee.  If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. This email and any attachments have been automatically scanned for viruses prior to dispatch, but we make no warranty that they are free from computer viruses.  You are advised to check all emails and attachments using your own anti virus software before opening or executing them.

On 29 July 2017 at 17:12, Fabrice Lecuyer <[hidden email]> wrote:

Hi Andrew,

 

I’ve seen this error appear quite randomly when using VS2017 (not sure this is related). Usually, closing, reopening VS2017 and forcing a complete rebuild removes the issue on my side, so I’ve never had to dig much more than that.

Hope it works for you. If you find out the root cause, I’d be keen to know.

 

Regards,

Fabrice

 

From: Andrew Leach [mailto:[hidden email]]
Sent: Saturday, 29 July 2017 1:42 PM
To: QuantLib users <[hidden email]>
Subject: [Quantlib-users] C2041 illegal digit 'U' for base '10' (compiling source file capfloor.cpp)

 

Hi,

 

Due to an error I made with my source control I have had to download and recompile QuantLib-1.10.

 

This time (and not the last) I've got the following error:

 

Severity               Code      Description         Project  File               Line        Suppression State

Error      C2041   illegal digit 'U' for base '10' (compiling source file capfloor.cpp)          testsuite D:\local\boost_1_64_0\boost\preprocessor\slot\detail\shared.hpp               159       

 

Has anything changed? How do I fix this please?

 

Thanks,

Andrew

-------
Internet communications are not secure and therefore Andrew Leach does not accept legal responsibility for the contents of this message.  The information contained in this email is private, personal and confidential and may be legally privileged.  It is intended solely for the addressee.  If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. This email and any attachments have been automatically scanned for viruses prior to dispatch, but we make no warranty that they are free from computer viruses.  You are advised to check all emails and attachments using your own anti virus software before opening or executing them.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users