Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

master-20110118 crash when starting MP or SK game #2448

Closed
wzdev-ci opened this issue Jan 18, 2011 · 8 comments
Closed

master-20110118 crash when starting MP or SK game #2448

wzdev-ci opened this issue Jan 18, 2011 · 8 comments

Comments

@wzdev-ci
Copy link
Contributor

resolution_fixed type_bug | by Terminator


master-20110118 crash when starting MP or SK game(as tutorial & campaign)


Issue migrated from trac:2448 at 2022-04-16 07:45:57 -0700

@wzdev-ci
Copy link
Contributor Author

Terminator uploaded file WZlog-0018_150452.txt (0.4 KiB)

@wzdev-ci
Copy link
Contributor Author

Terminator commented


its no matter what AI is selected

@wzdev-ci
Copy link
Contributor Author

Cyp commented


Hi, thanks for reporting. I can't reproduce the problem.

Only guess I have, were you using any strange mods?

@wzdev-ci
Copy link
Contributor Author

terminator commented


no mods, I have uninstalled old master ver. Checked folders - everything were clean. Its not only me one of rus wz funs have the same issue.

@wzdev-ci
Copy link
Contributor Author

terminator commented


already have tried on my both PCs - the same bug. Still can't get in game. :(

@wzdev-ci
Copy link
Contributor Author

Cyp changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

Cyp changed resolution from `` to fixed

@wzdev-ci
Copy link
Contributor Author

Cyp commented


Work around broken cross-compiler with -fstack-protector.

Fixes #2448. Fixes #2451. Fixes #2452.

Broken compiler i586-mingw32msvc-g++ version 4.4.2 and version 4.4.4.

With -O0 -fstack-protector and i586-mingw32msvc-g++ version 4.4.4, theCompilerWorks() returns false.
struct TheCompilerWorks
{
TheCompilerWorks() {} // Does absolutely nothing.
~TheCompilerWorks() {} // Does absolutely nothing.
char unusedArray[340]; // Unused.
};
bool theCompilerWorks() // This function unconditionally returns true, since there's nothing else it could possibly do... Unless cross-compiling with -O0 -fstack-protector, of course.
{
TheCompilerWorks harmlessObject; // Unused variable, and no side effects whatsoever.
printf("%s", ""); // Do nothing.
return true; // Return true.
}
Changeset: e6e252f56558ec7154e7b99498daad4623ce36f8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant