> Here is a short snippet of code that fails when compiled with Apple
> compilers on Snow Leopard:
>
>               const unsigned int dim = 2;
>               Quadrature<dim> quadrature;
>
>               const Subscriptor* quadrature_base_pointer = &quadrature;
>
>               if(dynamic_cast<const Quadrature<dim> 
> *>(quadrature_base_pointer) != 0)
>                       std::cout<<"SUCCESS"<<std::endl;
>               else
>                       std::cout<<"FAILURE"<<std::endl;

Unfortunately this still uses half of the base/ directory (with Quadrature and 
Subscriptor). Do you think you could come up with a short piece of code that 
uses a simpler class instead of the Quadrature class? Subscriptor only lives 
in header files, so that's not a problem.

Thanks
 W.

-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [email protected]
                                 www: http://www.math.tamu.edu/~bangerth/

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to