Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 150360 Details for
Bug 218536
[PATCH] app-misc/ktoblzcheck-1.16 and -1.14 fail to compile with gcc-4.3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix includes for gcc-4.3 for 1.14
ktoblzcheck-1.14-gcc-4.3.patch (text/plain), 1.42 KB, created by
Martin Väth
on 2008-04-20 09:44:02 UTC
(
hide
)
Description:
Fix includes for gcc-4.3 for 1.14
Filename:
MIME Type:
Creator:
Martin Väth
Created:
2008-04-20 09:44:02 UTC
Size:
1.42 KB
patch
obsolete
>--- src/bin/benchmark.cc >+++ src/bin/benchmark.cc >@@ -28,8 +28,10 @@ > #include <ktoblzcheck.h> > #include <iostream> > #include <fstream> >-#include <stdio.h> >-#include <assert.h> >+#include <cstdio> >+#include <cassert> >+#include <cstdlib> >+#include <climits> > > using namespace std; > >--- src/bin/ktoblzcheck.cc >+++ src/bin/ktoblzcheck.cc >@@ -32,11 +32,12 @@ > # define PACKAGE "ktoblzcheck" > #endif > >-#include <stdio.h> >+#include <cstdio> > #include <ktoblzcheck.h> > #include <iostream> > #include <fstream> > #include <cassert> >+#include <cstdlib> > > using namespace std; > >--- src/lib/accnum.cc >+++ src/lib/accnum.cc >@@ -36,7 +36,7 @@ > # include "config.h" > #endif > #include "ktoblzcheck.h" >-#include <assert.h> >+#include <cassert> > #include <string.h> // for strdup() > > >--- src/lib/algorithms.cc >+++ src/lib/algorithms.cc >@@ -31,7 +31,8 @@ > #include "binreloc.h" > #include <fstream> > #include <iostream> >-#include <assert.h> >+#include <cassert> >+#include <cstdlib> > > > #if OS_WIN32 >--- src/lib/iban.cc >+++ src/lib/iban.cc >@@ -33,7 +33,7 @@ > > #include "algorithms.h" > #include "iban.h" >-#include <assert.h> >+#include <cassert> > > // //////////////////////////////////////////////////////////// > >--- src/lib/ktoblzcheck.cc >+++ src/lib/ktoblzcheck.cc >@@ -33,7 +33,7 @@ > #include <iostream> > #include <algorithm> > #include <cassert> >-#include <cstdio> >+#include <cstdlib> > > // The actual algorithms for number checking are there > #include "algorithms.h"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 218536
: 150360 |
150361