Re: [petsc-dev] NEVER put // into PETSc code. PETSc is C89, the only real C.
22 Jun
2016
22 Jun
'16
11:07 p.m.
Barry Smith <[email protected]> writes:
Hmm, both of these links refer to C99 Standard Library they do not refer to the C99 standard language. Anywhere that says the language standard?
To my knowledge, variable length arrays (which are actually quite useful for numerical work, particularly as VLA-pointers) are not supported by MSVC and never will be (which is why they were made optional in C11). Anyway, that alone means that the language implementation is not complete. But as far as I know, // comments and for-loop declarations, for example, should not present a portability issue.
3705
Age (days ago)
3705
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jed Brown