зеркало из https://github.com/github/ruby.git
* eval.c (GCC_VERSION_BEFORE): check __INTEL_COMPILER.
Intel C++ Compiler defines __GNUC__. http://www.intel.com/software/products/compilers/clin/docs/ug_cpp/lin1077.htm git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
990d4c3fbe
Коммит
46043b2294
|
@ -1,3 +1,9 @@
|
|||
Sun Jan 8 14:15:27 2006 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* eval.c (GCC_VERSION_BEFORE): check __INTEL_COMPILER.
|
||||
Intel C++ Compiler defines __GNUC__.
|
||||
http://www.intel.com/software/products/compilers/clin/docs/ug_cpp/lin1077.htm
|
||||
|
||||
Sat Jan 7 15:40:07 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (singleton): get rid of segfault on syntax error.
|
||||
|
|
2
eval.c
2
eval.c
|
@ -133,7 +133,7 @@ rb_jump_context(env, val)
|
|||
* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127
|
||||
*/
|
||||
#define GCC_VERSION_BEFORE(major, minor, patchlevel) \
|
||||
(defined (__GNUC__) && \
|
||||
(defined(__GNUC__) && !defined(__INTEL_COMPILER) && \
|
||||
((__GNUC__ < (major)) || \
|
||||
(__GNUC__ == (major) && __GNUC_MINOR__ < (minor)) || \
|
||||
(__GNUC__ == (major) && __GNUC_MINOR__ == (minor) && __GNUC_PATCHLEVEL__ < (patchlevel))))
|
||||
|
|
Загрузка…
Ссылка в новой задаче