Replies: 1 comment
-
Also, if you change cc_array_ptr(int) arr cc_opt(:) cc_count cc_arg(5) = to cc_array_ptr(int) arr cc_opt(:) cc_count cc_arg(4) = the compiler won't complain too, even though the range got smaller. I need this to be an error! 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(I use my checkedc_cc.h header for compatibility with other C compilers)
Hi!
Can I force an error for this case?
Currently, it compiles fine, but notice
sizeof(double)
, I want this to be an error to force it tosizeof(int)
, is this possible? 🙂Thanks!
Beta Was this translation helpful? Give feedback.
All reactions