summaryrefslogtreecommitdiffhomepage
path: root/tasks/toolchains/visualcpp.rake
AgeCommit message (Collapse)Author
2019-10-04Remove unused code to old Visual Studio in `tasks/toolchains/visualcpp.rake`KOBAYASHI Shuji
2019-08-05Use new specifiers/modifiers of `mrb_vfromat()`KOBAYASHI Shuji
The binary sizes (gems are only `mruby-bin-mruby`) are reduced slightly in my environment than before the introduction of new specifiers/modifiers (5116789a) with this change. ------------+-------------------+-------------------+-------- BINARY | BEFORE (5116789a) | AFTER (This PR) | RATIO ------------+-------------------+-------------------+-------- mruby | 593416 bytes | 593208 bytes | -0.04% libmruby.a | 769048 bytes | 767264 bytes | -0.23% ------------+-------------------+-------------------+-------- BTW, I accidentally changed `tasks/toolchains/visualcpp.rake` at #4613, so I put it back.
2019-08-03Change second argument to `%l` of `mrb_vformat()` to `size_t` from `mrb_int`KOBAYASHI Shuji
- `size_t` is more commonly used. - `len` argument of `mrb_str_new()` is `size_t`. NOTE: The test for `%l` is temporarily disabled because adding a new type to `mrbgems/mruby-test/vformat.c` causes an error (memory error?) on Visual Studio 2017 in AppVeyor.
2019-02-23Remove explicit set of `DISABLE_GEMS`KOBAYASHI Shuji
`DISABLE_GEMS` is automatically set (or unset); ref #790
2017-12-24Removed the Visual Studio Version Check because it does notLothar Scholz
work with internationalized versions of Visual Studio. It will capture the returned string in the local codepage encoding and make ruby exits with an invalid UTF8 error message. Also "Version" might be translated and not appear in the output.
2017-02-28Compile C files by C compiler when C++ files mixed.Yukihiro "Matz" Matsumoto
ref #3267 #3470 By this commit, mruby do not use C++ ABI mode unless you specify explicitly. It compiles C files by C compilers, with C++ exception enabled when it sees C++ files in your configured mrbgems. I haven't tried visualcpp, so please submit an issue if you see any problem with C++ gems on Windows.
2016-11-24Fix for compiling mruby as C++ on Visual Studio toolchainTomasz Dąbrowski
2016-04-16Avoid Syntax Error on CRuby v1.8ksss
CRuby v1.8 dose not support named capture
2016-03-22deprecate Visual Studio 2010 and 2012cremno
2016-03-22remove unnecessary array/eachcremno
2016-01-13Fix build error in ruby 1.8.asatou
Apply change of #2978 to :clang, :gcc, :visualcpp toolchains
2015-03-18Fix exceptions for visualcppJared Breeden
2014-06-08Remove redundant substitutions.Masaki Muranaka
"#{MRUBY_ROOT}/include" is set in Command::Compiler#initialize .
2014-05-02MSVC: treat implicit function decl. as errorcremno
As equivalent to GCC's `-Werror-implicit-function-declaration`.
2014-04-29Add doubling stack extend, as fix for #2016kyab
2014-03-05visualcpp toolchain: change compiler/linker flagscremno
with these flags visualcpp should behave more like the gcc toolchain c: - produce debug information - optimize for speed instead of disabling optimization - use non-debug version of Microsoft's C library - remove unused and unnecessary macro definitions cxx: - separate C and C++ (#1594) - specify kind of exception handling (see warning C4530) linker: - produce debug information - disable incremental linking and re-enable optimizations
2013-11-22Automatically detect toolchain if it is visualcpp, and hence we drop ↵Per Lundberg
vs2010.rake altogether - it’s no longer needed.