New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MnUserTransformation.cpp:30: error: 'sprintf' is not a member of 'std' #8

Open
GoogleCodeExporter opened this Issue Mar 15, 2015 · 10 comments

Comments

Projects
None yet
1 participant
@GoogleCodeExporter

GoogleCodeExporter commented Mar 15, 2015

Running make I get the following error:

MnUserTransformation.cpp:30: error: 'sprintf' is not a member of 'std'

This was quickly fixed by adding the line:
#include <cstdio>
to right below '#include <algorithm>' in the src/MnUserTransformation.cpp


What version of the product are you using? On what operating system?

I am running ubuntu 8.10 (64 bit) with gcc version 4.3.2 (Ubuntu
4.3.2-1ubuntu11).



Original issue reported on code.google.com by jamesrle...@gmail.com on 3 Nov 2008 at 7:17

@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 15, 2015

This is an environment-specific issue, which does not occur on all systems.  
Thanks
James for also providing a solution, I hope others find it helpful!

Original comment by jpivar...@gmail.com on 3 Nov 2008 at 7:32

  • Changed state: WontFix

GoogleCodeExporter commented Mar 15, 2015

This is an environment-specific issue, which does not occur on all systems.  
Thanks
James for also providing a solution, I hope others find it helpful!

Original comment by jpivar...@gmail.com on 3 Nov 2008 at 7:32

  • Changed state: WontFix
@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 15, 2015

Same problem on Kubuntu 8.10, fix worked. Thanks!!!!

Original comment by davide.o...@gmail.com on 9 Nov 2008 at 12:36

GoogleCodeExporter commented Mar 15, 2015

Same problem on Kubuntu 8.10, fix worked. Thanks!!!!

Original comment by davide.o...@gmail.com on 9 Nov 2008 at 12:36

@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 15, 2015

May I ask why this one is got the status "Wont fix"? Does it make the 
compilation
problematic on other systems? 


Original comment by henning....@gmail.com on 20 Apr 2009 at 1:30

GoogleCodeExporter commented Mar 15, 2015

May I ask why this one is got the status "Wont fix"? Does it make the 
compilation
problematic on other systems? 


Original comment by henning....@gmail.com on 20 Apr 2009 at 1:30

@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 15, 2015

Actually, that's a good point.  Up to now, I haven't made any modifications to 
the
Minuit pacakge itself, but it would do the world good to get rid of its verbose
print-outs and apply the known correction above.  I remember having to make the 
above
comment in a rush for some unrelated reason...

Original comment by jpivar...@gmail.com on 28 Apr 2009 at 1:10

  • Changed state: Started

GoogleCodeExporter commented Mar 15, 2015

Actually, that's a good point.  Up to now, I haven't made any modifications to 
the
Minuit pacakge itself, but it would do the world good to get rid of its verbose
print-outs and apply the known correction above.  I remember having to make the 
above
comment in a rush for some unrelated reason...

Original comment by jpivar...@gmail.com on 28 Apr 2009 at 1:10

  • Changed state: Started
@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 15, 2015

> This is an environment-specific issue, which does not occur on all systems.  
Thanks
> James for also providing a solution, I hope others find it helpful!

I am now using Ubuntu 10.04 and found this useful.  Thanks!
-- Jim


Original comment by jpivar...@gmail.com on 2 Jun 2010 at 1:18

GoogleCodeExporter commented Mar 15, 2015

> This is an environment-specific issue, which does not occur on all systems.  
Thanks
> James for also providing a solution, I hope others find it helpful!

I am now using Ubuntu 10.04 and found this useful.  Thanks!
-- Jim


Original comment by jpivar...@gmail.com on 2 Jun 2010 at 1:18

@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 15, 2015

On my OpenSUSE 11.3 with gcc 4.5.0 I had the same problem with minuit 1.7.9. 
The proposed fix worked. Thanks a lot!

--Pawel

Original comment by pawel...@gmail.com on 10 Sep 2010 at 10:34

GoogleCodeExporter commented Mar 15, 2015

On my OpenSUSE 11.3 with gcc 4.5.0 I had the same problem with minuit 1.7.9. 
The proposed fix worked. Thanks a lot!

--Pawel

Original comment by pawel...@gmail.com on 10 Sep 2010 at 10:34

@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 15, 2015

I'm running Mandriva 2010 and had the same problem.  Thanks for the fix!  -- 
Jess

Original comment by JessH.Br...@gmail.com on 4 Oct 2010 at 6:02

GoogleCodeExporter commented Mar 15, 2015

I'm running Mandriva 2010 and had the same problem.  Thanks for the fix!  -- 
Jess

Original comment by JessH.Br...@gmail.com on 4 Oct 2010 at 6:02

@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 15, 2015

I'm solve my problem in Suse 11.3 x86_64 build with this parameter in 
compilation:
-std=gnu++0x

$> cat /etc/issue
Welcome to openSUSE 11.3 "Teal" - Kernel \r (\l).


$> uname -a
Linux butters11364 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200 
x86_64 x86_64 x86_64 GNU/Linux

$> g++ --version
g++ (SUSE Linux) 4.5.0 20100604 [gcc-4_5-branch revision 160292]
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Original comment by pedro.l...@gmail.com on 16 Dec 2010 at 6:03

GoogleCodeExporter commented Mar 15, 2015

I'm solve my problem in Suse 11.3 x86_64 build with this parameter in 
compilation:
-std=gnu++0x

$> cat /etc/issue
Welcome to openSUSE 11.3 "Teal" - Kernel \r (\l).


$> uname -a
Linux butters11364 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200 
x86_64 x86_64 x86_64 GNU/Linux

$> g++ --version
g++ (SUSE Linux) 4.5.0 20100604 [gcc-4_5-branch revision 160292]
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Original comment by pedro.l...@gmail.com on 16 Dec 2010 at 6:03

@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 15, 2015

[deleted comment]

GoogleCodeExporter commented Mar 15, 2015

[deleted comment]
@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 15, 2015

Original comment by jpivar...@gmail.com on 20 Jul 2011 at 3:37

  • Changed state: Fixed

GoogleCodeExporter commented Mar 15, 2015

Original comment by jpivar...@gmail.com on 20 Jul 2011 at 3:37

  • Changed state: Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment