Closed rghouzra closed 8 months ago
#include <iostream> #include <limits.h> int main (int argc, char *argv[]) { const int a = 10; int *p = (int *)&a; return 0; }
give
#include <iostream> #include <limits.h> int main(int argc, char ** argv) { const int a = 10; int * p = static_cast<int *>(&a); return 0; }
Hello @rghouzra,
thanks for spotting and reporting this issue! A fix is on its way.
Andreas
link for that example same goes for reference
give