| Age | Commit message (Collapse) | Author |
|
a0bc3f2a1c2c98f225612101cb4e1ea1a6813546,75a0447c15a7ab017bd4240c2a9cc69b134b80b9,f1699314147bad2cf5550cc582693424fdbc2510: [Backport #16846]
Suppress C4267 "possible loss of data" warnings
---
ext/win32ole/win32ole.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Suppress C4267 "possible loss of data" warnings
Just cast down explicitly.
---
ext/win32ole/win32ole.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
win32ole: separate global variable declarations and definitions
https://gcc.gnu.org/gcc-10/changes.html#c
> * GCC now defaults to `-fno-common`. As a result, global
> variable accesses are more efficient on various targets. In
> C, global variables with multiple tentative definitions now
> result in linker errors. With `-fcommon` such definitions are
> silently merged during linking.
---
ext/win32ole/win32ole.c | 1 +
ext/win32ole/win32ole.h | 4 ++--
ext/win32ole/win32ole_error.c | 3 +++
ext/win32ole/win32ole_error.h | 4 ++--
ext/win32ole/win32ole_method.c | 2 ++
ext/win32ole/win32ole_method.h | 2 +-
ext/win32ole/win32ole_record.c | 2 ++
ext/win32ole/win32ole_record.h | 2 +-
ext/win32ole/win32ole_type.c | 2 ++
ext/win32ole/win32ole_type.h | 2 +-
ext/win32ole/win32ole_typelib.c | 2 ++
ext/win32ole/win32ole_typelib.h | 2 +-
ext/win32ole/win32ole_variable.c | 2 ++
ext/win32ole/win32ole_variable.h | 2 +-
ext/win32ole/win32ole_variant.c | 2 ++
ext/win32ole/win32ole_variant.h | 2 +-
ext/win32ole/win32ole_variant_m.c | 2 ++
ext/win32ole/win32ole_variant_m.h | 2 +-
18 files changed, 29 insertions(+), 11 deletions(-)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/win32ole/win32ole_error.h: ditto.
* ext/win32ole/win32ole.c(typeinfo_from_ole): raise WIN32OLEQueryInterfaceError in ole_methods.
* ext/win32ole/win32ole_method.c(ole_methods_from_typeinfo): ditto.
M ext/win32ole/win32ole.c
M ext/win32ole/win32ole_error.c
M ext/win32ole/win32ole_error.h
M ext/win32ole/win32ole_method.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/win32ole/win32ole_error.h (ole_raise): add attributes,
NORETURN and PRINTF_ARGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
from win32ole.c.
* ext/win32ole/win32ole.h: ditto
* ext/win32ole/depend: ditto.
* ext/win32ole/win32ole_error.c: ditto.
* ext/win32ole/win32ole_error.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|