Hunk #1 FAILED at 167.
Hunk #2 FAILED at 406.
2 out of 2 hunks FAILED -- saving rejects to file unix.c.rej
Hunk #1 FAILED at 717.
Hunk #2 FAILED at 981.
2 out of 2 hunks FAILED -- saving rejects to file win32.c.rej
SVN 5767
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
VARDEF uint8 _copy_heightmap[COPY_MAX]; //Move terrain needed into this...
The lower one let the warning dissapper while compiling with gcc-4.1 and I don't notice any differences with gameplay.
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
copy_paste_gui.c: In Funktion »RotateSelectionCW«:
copy_paste_gui.c Warnung: Zeigerziele bei Übergabe des Arguments 1 von »rotate1B« unterscheiden sich im Vorzeichenbesitz
copy_paste_gui.c: In Funktion »RotateSelectionCCW«:
copy_paste_gui.c Warnung: Zeigerziele bei Übergabe des Arguments 1 von »rotate1B« unterscheiden sich im Vorzeichenbesitz
copy_paste_gui.c: In Funktion »MirrorSelectionHorizontal«:
copy_paste_gui.c Warnung: Zeigerziele bei Übergabe des Arguments 1 von »mirror1B« unterscheiden sich im Vorzeichenbesitz
copy_paste_gui.c: In Funktion »MirrorSelectionVertical«:
copy_paste_gui.c Warnung: Zeigerziele bei Übergabe des Arguments 1 von »mirror1B« unterscheiden sich im Vorzeichenbesitz
They are all related with "_copy_heightmap" and the warning is about sign differeces with pointer-targets at argument #1.
Which compiler do you use?
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
I'll rewrite the mirror/rotateArray functions to accept generic memory pointers to remove the warnings.
(The warning is unnecessary since the array's content is just moved around, and their real values are not interpreted)
I use the compiler that came with MSys. At the moment I am away from my PC, so I can not look up the exact version.
Hunk #1 FAILED at 48.
1 out of 4 hunks FAILED -- saving rejects to file openttd.c.rej
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
wolf01: which one do you prefer out of the two I posted? the +/- or R/S?
Personally, I prefer R/S because you can choose to show the settings without the rotation, and you don't have to move the mouse between clicks (expanding or contracting the toolbar would change the position of the +/- buttons )