Linux で C++ プログラムをコンパイルするプロセス中に、次の警告が表示されます。
warning #584: omission of exception specification is incompatible with previous function "__errno_location" (declared at line 43 of "/usr/include/bits/errno.h")
extern int errno;//error handling
         ^
コードを以下に示します。
#include <errno.h>    //for error handling
#include <cmath>
#include <cstring>
#include <ctime>
extern int errno;//error handling
errnoはグローバル変数で、他の.cppファイルで使用されます。どうすればこれを解決できますか?