Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 216128
Collapse All | Expand All

(-)src/ModelTypes.h (+1 lines)
Lines 6-11 Link Here
6
#define MS_MAX_NAME             32
6
#define MS_MAX_NAME             32
7
7
8
#include "RageTypes.h"
8
#include "RageTypes.h"
9
#include <cstring>
9
10
10
struct msTriangle
11
struct msTriangle
11
{
12
{
(-)src/crypto51/filters.h (+1 lines)
Lines 7-12 Link Here
7
#include "smartptr.h"
7
#include "smartptr.h"
8
#include "queue.h"
8
#include "queue.h"
9
#include "algparam.h"
9
#include "algparam.h"
10
#include <memory>
10
11
11
NAMESPACE_BEGIN(CryptoPP)
12
NAMESPACE_BEGIN(CryptoPP)
12
13
(-)src/crypto/CryptSH512.h (+2 lines)
Lines 1-6 Link Here
1
#ifndef SSH_SHA512_H
1
#ifndef SSH_SHA512_H
2
#define SSH_SHA512_H
2
#define SSH_SHA512_H
3
3
4
#include <cstring>
5
4
typedef struct
6
typedef struct
5
{
7
{
6
	unsigned long hi, lo;
8
	unsigned long hi, lo;
(-)src/crypto/CryptSHA.h (+2 lines)
Lines 1-6 Link Here
1
#ifndef SSHSHA_H
1
#ifndef SSHSHA_H
2
#define SSHSHA_H
2
#define SSHSHA_H
3
3
4
#include <cstring>
5
4
typedef struct {
6
typedef struct {
5
	uint32_t h[5];
7
	uint32_t h[5];
6
	unsigned char block[64];
8
	unsigned char block[64];
(-)src/crypto/CryptRand.h (+2 lines)
Lines 1-6 Link Here
1
#ifndef SSH_RAND_H
1
#ifndef SSH_RAND_H
2
#define SSH_RAND_H
2
#define SSH_RAND_H
3
3
4
#include <cstring>
5
4
void random_init();
6
void random_init();
5
void random_add_noise( const CString &noise );
7
void random_add_noise( const CString &noise );
6
unsigned char random_byte();
8
unsigned char random_byte();
(-)src/crypto/CryptBn.h (+2 lines)
Lines 1-6 Link Here
1
#ifndef SSHBN_H
1
#ifndef SSHBN_H
2
#define SSHBN_H
2
#define SSHBN_H
3
3
4
#include <cstring>
5
4
#if defined __GNUC__ && defined __i386__
6
#if defined __GNUC__ && defined __i386__
5
typedef unsigned long BignumInt;
7
typedef unsigned long BignumInt;
6
typedef unsigned long long BignumDblInt;
8
typedef unsigned long long BignumDblInt;
(-)src/NetworkSyncServer.h (+2 lines)
Lines 7-12 Link Here
7
#include "ezsockets.h"
7
#include "ezsockets.h"
8
#define NETMAXBUFFERSIZE 1020
8
#define NETMAXBUFFERSIZE 1020
9
9
10
#include <cstring>
11
10
class LanPlayer
12
class LanPlayer
11
{
13
{
12
public:
14
public:
(-)src/RageSurface.h (+2 lines)
Lines 3-8 Link Here
3
#ifndef RAGE_SURFACE_H
3
#ifndef RAGE_SURFACE_H
4
#define RAGE_SURFACE_H
4
#define RAGE_SURFACE_H
5
5
6
#include <cstring>
7
6
/* XXX remove? */
8
/* XXX remove? */
7
struct RageSurfaceColor 
9
struct RageSurfaceColor 
8
{
10
{
(-)src/RageSoundReader.h (+2 lines)
Lines 5-10 Link Here
5
#ifndef RAGE_SOUND_READER_H
5
#ifndef RAGE_SOUND_READER_H
6
#define RAGE_SOUND_READER_H
6
#define RAGE_SOUND_READER_H
7
7
8
#include <cstring>
9
8
class SoundReader
10
class SoundReader
9
{
11
{
10
	mutable string error;
12
	mutable string error;
(-)src/RageFile.h (+2 lines)
Lines 5-10 Link Here
5
#ifndef RAGE_FILE_H
5
#ifndef RAGE_FILE_H
6
#define RAGE_FILE_H
6
#define RAGE_FILE_H
7
7
8
#include <cstring>
9
8
class RageFileObj;
10
class RageFileObj;
9
11
10
class RageFile
12
class RageFile
(-)src/archutils/Unix/LinuxThreadHelpers.h (+2 lines)
Lines 1-6 Link Here
1
#ifndef PID_THREAD_HELPERS_H
1
#ifndef PID_THREAD_HELPERS_H
2
#define PID_THREAD_HELPERS_H
2
#define PID_THREAD_HELPERS_H
3
3
4
#include <cstring>
5
4
CString ThreadsVersion();
6
CString ThreadsVersion();
5
7
6
/* Get the current thread's ThreadID. */
8
/* Get the current thread's ThreadID. */
(-)src/archutils/Unix/AssertionHandler.cpp (+1 lines)
Lines 4-9 Link Here
4
#include "archutils/Unix/EmergencyShutdown.h"
4
#include "archutils/Unix/EmergencyShutdown.h"
5
#include <unistd.h>
5
#include <unistd.h>
6
#include <assert.h>
6
#include <assert.h>
7
#include <cstring>
7
8
8
/* We can define this symbol to catch failed assert() calls.  This is only used
9
/* We can define this symbol to catch failed assert() calls.  This is only used
9
 * for library code that uses assert(); internally we always use ASSERT, which
10
 * for library code that uses assert(); internally we always use ASSERT, which
(-)src/arch/Sound/RageSoundDriver.h (+2 lines)
Lines 1-6 Link Here
1
#ifndef RAGE_SOUND_DRIVER
1
#ifndef RAGE_SOUND_DRIVER
2
#define RAGE_SOUND_DRIVER
2
#define RAGE_SOUND_DRIVER
3
3
4
#include <cstring>
5
4
class RageSoundBase;
6
class RageSoundBase;
5
class RageSoundDriver
7
class RageSoundDriver
6
{
8
{
(-)src/PlayerOptions.h (+2 lines)
Lines 3-8 Link Here
3
#ifndef PLAYER_OPTIONS_H
3
#ifndef PLAYER_OPTIONS_H
4
#define PLAYER_OPTIONS_H
4
#define PLAYER_OPTIONS_H
5
5
6
#include <cstring>
7
6
class Song;
8
class Song;
7
class Steps;
9
class Steps;
8
class Course;
10
class Course;
(-)src/NoteDataUtil.h (+1 lines)
Lines 6-11 Link Here
6
#include "GameConstantsAndTypes.h"	// for RadarCategory
6
#include "GameConstantsAndTypes.h"	// for RadarCategory
7
#include "NoteTypes.h"
7
#include "NoteTypes.h"
8
#include "NoteData.h"
8
#include "NoteData.h"
9
#include <cstring>
9
10
10
struct PlayerOptions;
11
struct PlayerOptions;
11
struct RadarValues;
12
struct RadarValues;
(-)src/Game.h (+1 lines)
Lines 6-11 Link Here
6
#include "GameInput.h"
6
#include "GameInput.h"
7
#include "MenuInput.h"
7
#include "MenuInput.h"
8
#include "GameConstantsAndTypes.h"
8
#include "GameConstantsAndTypes.h"
9
#include <cstring>
9
10
10
11
11
const int MAX_STYLES_PER_GAME = 10;
12
const int MAX_STYLES_PER_GAME = 10;
(-)src/CodeDetector.h (+1 lines)
Lines 4-9 Link Here
4
#define CODEDETECTOR_H
4
#define CODEDETECTOR_H
5
5
6
#include "GameInput.h"
6
#include "GameInput.h"
7
#include <cstring>
7
8
8
struct CodeItem
9
struct CodeItem
9
{
10
{
(-)src/ScreenMiniMenu.h (+1 lines)
Lines 8-13 Link Here
8
#include "Transition.h"
8
#include "Transition.h"
9
#include "Quad.h"
9
#include "Quad.h"
10
#include "RandomSample.h"
10
#include "RandomSample.h"
11
#include <cstring>
11
12
12
13
13
#define MAX_MENU_ROWS  40
14
#define MAX_MENU_ROWS  40
(-)src/HighScore.h (+1 lines)
Lines 7-12 Link Here
7
#include "GameConstantsAndTypes.h"
7
#include "GameConstantsAndTypes.h"
8
#include "RadarValues.h"
8
#include "RadarValues.h"
9
#include "DateTime.h"
9
#include "DateTime.h"
10
#include <cstring>
10
11
11
struct XNode;
12
struct XNode;
12
13
(-)src/RageUtil.h (+1 lines)
Lines 4-9 Link Here
4
#define RAGEUTIL_H
4
#define RAGEUTIL_H
5
5
6
#include <map>
6
#include <map>
7
#include <climits>
7
8
8
#define SAFE_DELETE(p)       { if(p) { delete (p);     (p)=NULL; } }
9
#define SAFE_DELETE(p)       { if(p) { delete (p);     (p)=NULL; } }
9
#define SAFE_DELETE_ARRAY(p) { if(p) { delete[] (p);   (p)=NULL; } }
10
#define SAFE_DELETE_ARRAY(p) { if(p) { delete[] (p);   (p)=NULL; } }
(-)src/crypto/CryptMD5.h (+2 lines)
Lines 1-6 Link Here
1
#ifndef SSHMD5_H
1
#ifndef SSHMD5_H
2
#define SSHMD5_H
2
#define SSHMD5_H
3
3
4
#include <cstring>
5
4
typedef struct {
6
typedef struct {
5
	uint32_t h[4];
7
	uint32_t h[4];
6
} MD5_Core_State;
8
} MD5_Core_State;
(-)src/ezsockets.h (+1 lines)
Lines 18-23 Link Here
18
#include <vector>
18
#include <vector>
19
#include <fcntl.h>
19
#include <fcntl.h>
20
#include <ctype.h>
20
#include <ctype.h>
21
#include <cstring>
21
22
22
#if defined(_XBOX)
23
#if defined(_XBOX)
23
// Summary : WinsockX is bad, XTL is good.
24
// Summary : WinsockX is bad, XTL is good.
(-)src/RageSoundResampler.h (+2 lines)
Lines 1-6 Link Here
1
#ifndef RAGE_SOUND_RESAMPLER_H
1
#ifndef RAGE_SOUND_RESAMPLER_H
2
#define RAGE_SOUND_RESAMPLER_H
2
#define RAGE_SOUND_RESAMPLER_H
3
3
4
#include <cstring>
5
4
class RageSoundResampler
6
class RageSoundResampler
5
{
7
{
6
	int InputRate, OutputRate, Channels;
8
	int InputRate, OutputRate, Channels;
(-)src/RageSound.h (+1 lines)
Lines 6-11 Link Here
6
#include "RageTimer.h"
6
#include "RageTimer.h"
7
#include "RageUtil_CircularBuffer.h"
7
#include "RageUtil_CircularBuffer.h"
8
#include "RageSoundPosMap.h"
8
#include "RageSoundPosMap.h"
9
#include <cstring>
9
10
10
class SoundReader;
11
class SoundReader;
11
12
(-)src/archutils/Unix/CrashHandler.h (+2 lines)
Lines 1-6 Link Here
1
#ifndef CRASH_HANDLER_H
1
#ifndef CRASH_HANDLER_H
2
#define CRASH_HANDLER_H
2
#define CRASH_HANDLER_H
3
3
4
#include <cstring>
5
4
void ForceCrashHandler( const char *reason );
6
void ForceCrashHandler( const char *reason );
5
struct BacktraceContext;
7
struct BacktraceContext;
6
void ForceCrashHandlerDeadlock( CString reason, uint64_t CrashHandle );
8
void ForceCrashHandlerDeadlock( CString reason, uint64_t CrashHandle );
(-)src/archutils/Unix/SignalHandler.h (+1 lines)
Lines 3-8 Link Here
3
3
4
#include <csignal>
4
#include <csignal>
5
#include <ucontext.h>
5
#include <ucontext.h>
6
#include <cstring>
6
       
7
       
7
class SaveSignals
8
class SaveSignals
8
{
9
{
(-)src/arch/Lights/LightsDriver.h (+1 lines)
Lines 4-9 Link Here
4
#define LightsDriver_H
4
#define LightsDriver_H
5
5
6
#include "LightsManager.h"
6
#include "LightsManager.h"
7
#include <cstring>
7
8
8
struct LightsState;
9
struct LightsState;
9
10
(-)src/NotesLoader.h (+1 lines)
Lines 3-8 Link Here
3
3
4
#include "RageUtil.h"
4
#include "RageUtil.h"
5
#include <set>
5
#include <set>
6
#include <cstring>
6
7
7
class Song;
8
class Song;
8
9
(-)src/LyricsLoader.h (+2 lines)
Lines 3-8 Link Here
3
#ifndef LYRICS_LOADER_H
3
#ifndef LYRICS_LOADER_H
4
#define LYRICS_LOADER_H
4
#define LYRICS_LOADER_H
5
5
6
#include <cstring>
7
6
class Song;
8
class Song;
7
9
8
class LyricsLoader
10
class LyricsLoader
(-)src/DateTime.h (+1 lines)
Lines 2-7 Link Here
2
#define DATE_TIME_H
2
#define DATE_TIME_H
3
3
4
#include <ctime>
4
#include <ctime>
5
#include <cstring>
5
6
6
const int NUM_LAST_DAYS = 7;
7
const int NUM_LAST_DAYS = 7;
7
const int NUM_LAST_WEEKS = 52;
8
const int NUM_LAST_WEEKS = 52;
(-)src/ScreenOptionsMasterPrefs.cpp (-1 / +1 lines)
Lines 69-75 Link Here
69
}
69
}
70
70
71
template<>
71
template<>
72
static void MoveData( int &sel, bool &opt, bool ToSel )
72
void MoveData( int &sel, bool &opt, bool ToSel )
73
{
73
{
74
	if( ToSel )	sel = opt;
74
	if( ToSel )	sel = opt;
75
	else		opt = !!sel;
75
	else		opt = !!sel;
(-)src/EditCoursesSongMenu.h (+1 lines)
Lines 10-15 Link Here
10
#include "Course.h"
10
#include "Course.h"
11
#include "ScreenMessage.h"
11
#include "ScreenMessage.h"
12
#include "song.h"
12
#include "song.h"
13
#include <cstring>
13
14
14
15
15
class EditCoursesSongMenu: public ActorFrame 
16
class EditCoursesSongMenu: public ActorFrame 
(-)src/InputFilter.h (+1 lines)
Lines 4-9 Link Here
4
#define INPUTFILTER_H
4
#define INPUTFILTER_H
5
5
6
#include "RageInputDevice.h"
6
#include "RageInputDevice.h"
7
#include <cstring>
7
8
8
enum InputEventType
9
enum InputEventType
9
{
10
{

Return to bug 216128