> Is it even possible to define this attribute in clang? > e.g. __attribute__(readnone) float sin(float x); The corresponding gcc/clang attribute names are "const" and "pure". -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University