Fixed almost all the notes by Andrey Semashev except link-time assertions and ctti type name assertions