From b41974acc90e5b68e2861244481eb4df9c9b0932 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 10 Sep 2003 13:43:27 +0000 Subject: * eval.c (win32_get_exception_list): avoid VC7 warning. [ruby-win32:577] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'eval.c') diff --git a/eval.c b/eval.c index 7119596b3..435de8148 100644 --- a/eval.c +++ b/eval.c @@ -7741,6 +7741,10 @@ win32_get_exception_list() # if defined _MSC_VER # ifdef _M_IX86 # define SAVE_WIN32_EXCEPTION_LIST +# if _MSC_VER >= 1310 + /* warning: unsafe assignment to fs:0 ... this is ok */ +# pragma warning(disable: 4733) +# endif __asm mov eax, fs:[0]; __asm mov p, eax; # endif -- cgit