I accidentally compiled these headers in a simple test program I was running to get a better understanding of strtok:
Code:#include <string.h> #include <iostream> #include <cstring>
And I received this warning:
warning: #include_next is a GCC extension.
I Googled and found out that it is a GCC extension, well that is quite obvious from the warning I received but what exactly does it mean or do?
If I get rid of the string.h header (which is what I meant to do ) or include it after iostream this warning goes away! This leads me to another question is there a case where one would need to include to similar header files like string.h and cstring?