Opened 15 years ago
Closed 14 years ago
#998 closed Patches (fixed)
prg_exec_fail2 fail on ppc
Reported by: | troy d. straszheim | Owned by: | Gennadiy Rozental |
---|---|---|---|
Milestone: | Component: | test | |
Version: | Boost 1.34.0 | Severity: | Problem |
Keywords: | Cc: |
Description
prg_exec_2 fails on darwin/ppc... never heard of this before but the ppc doesn't throw a floating point exception on the divide-by-zero. Patch:
int cpp_main( int, char *[] ) note the name { #if defined(APPLE) && defined(ppc)
printf("The ppc doesn't throw on divice-by-zero. No check.\n"); return 1;
#else
int div = 0; return 10 / div;
#endif }
Change History (2)
comment:1 by , 15 years ago
Owner: | set to |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
applied