0
_THROW 매크로가 GCC4에서 정의 된 위치 또는 수동으로 정의하는 방법을 알려주십시오._THROW는 GCC에서 정의되지 않았습니까?
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <assert.h>
#include <ctype.h>
#include <climits>
#include <stdexcept>
#include <sys/cdefs.h>
#include <sys/types.h>
void test() { _THROW(std::range_error,"Test"); }
'_THROW' 표준 C++의 일부가 아닙니다. 왜''std :: range_error ("Test");'를 쓰지 않겠습니까? –