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 Dave Abrahams, 15 years ago

Owner: set to Gennadiy Rozental

comment:2 by Gennadiy Rozental, 14 years ago

Resolution: fixed
Status: newclosed

applied

Note: See TracTickets for help on using tickets.