Eintragsdetails ansehen
| ID | Projekt | Kategorie | Sichtbarkeit | Meldungsdatum | Zuletzt aktualisiert |
|---|---|---|---|---|---|
| 0001433 | Eressea | General | öffentlich | 2008-05-25 02:20 | 2008-08-21 14:45 |
| Reporter | Enno | Bearbeitung durch | Enno | ||
| Priorität | normal | Schweregrad | kleinerer Fehler | Reproduzierbar | nicht getestet |
| Status | geschlossen | Lösung | erledigt | ||
| Zusammenfassung | 0001433: When compiling with -O3, there is a differnce in the herb-rotting code | ||||
| Beschreibung | During turn 571, there is a change in the amount of times the random number generator gets called during the ifdef HERBS_ROT block in laws.c Release build:
| ||||
| Zusätzliche Informationen | Optimization flags: -O3 -fno-strict-aliasing or even just -Os This does not happen when compiling with -O0 instead | ||||
| Tags | Keine Tags zugeordnet. | ||||
| Partei | |||||
| Spiel | |||||
| Report | |||||
|
The key was to use -ffloat-store if I want predictable results from optimized code. Hooray. See http://developer.apple.com/documentation/DeveloperTools/gcc-3.3/gcc/Optimize-Options.html |
|
| Änderungsdatum | Benutzername | Feld | Änderung |
|---|---|---|---|
| 2008-05-25 02:20 | Enno | Neuer Eintrag | |
| 2008-05-25 02:20 | Enno | Status | neu => zugewiesen |
| 2008-05-25 02:20 | Enno | Bearbeitung durch | => Enno |
| 2008-05-25 02:44 | Enno | Zusätzliche Informationen aktualisiert | |
| 2008-05-26 10:54 | Enno | Status | zugewiesen => erledigt |
| 2008-05-26 10:54 | Enno | Behoben in Version | => 573 |
| 2008-05-26 10:54 | Enno | Lösung | offen => erledigt |
| 2008-05-26 10:54 | Enno | Notiz hinzugefügt: 0003509 | |
| 2008-08-21 14:45 | Xolgrim | Status | erledigt => geschlossen |