:orphan: # PETSC_ATTRIBUTE_MAY_ALIAS Indicate to the compiler that a type is not subjected to type-based alias analysis, but is instead assumed to be able to alias any other type of objects ## Example Usage ```none typedef PetscScalar PetscScalarAlias PETSC_ATTRIBUTE_MAY_ALIAS; PetscReal *pointer; PetscScalarAlias *other_pointer = reinterpret_cast(pointer); ``` ## See Also `PetscHasAttribute()` ## Level advanced ## Location include/petscmacros.h --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscmacros.h) [Index of all Sys routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)