Damien Doligez
e69730e0d6
extend warning 3 to other deprecated features: Latin1, (&) and (or)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13706 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-28 11:05:58 +00:00
Damien Doligez
2b5ba03cf7
get rid of deprecated operators (&) and (or)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-28 11:04:11 +00:00
Damien Doligez
0739ee7671
compact representation of warning flags
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13704 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-28 11:03:42 +00:00
Gabriel Scherer
cfadfd497f
add [open Types] back to cmmgen as it is used after the 4.00 merge
...
typing/types.ml was previously not used by cmmgen.ml in trunk, and the
[open] was thus removed by Alain in commit 12498. With the 4.00, some
of its constructors are now used. This does not prevent compilation
thanks to the new type-directed constructor resolution feature, but
still raises warning 40, which is best avoided.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13701 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-22 13:59:24 +00:00
Damien Doligez
8946ae07df
testsuite/lib-threads: version of test8 that seems to work on Windows
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13700 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-22 13:04:00 +00:00
Damien Doligez
c3bf54a7b6
merge changes from version/4.00 from 4.00.1 to r13697
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13699 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-22 12:56:54 +00:00
Jacques Garrigue
ccf56e3b2a
fix bug in short-paths: must ignore position when comparing paths
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13695 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-20 03:12:46 +00:00
Damien Doligez
2c6d524259
PR#5710: add Mono support to the testsuite
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 15:06:37 +00:00
Damien Doligez
9bbd8bdaec
testsuite/lib-threads: still working around Windows's exit bug
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13693 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 15:05:16 +00:00
Damien Doligez
b1d2782b30
testsuite: still making it work without installing
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13692 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 12:49:42 +00:00
Damien Doligez
3cc34fb267
update minimum flexdll version number
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13691 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 12:04:30 +00:00
Damien Doligez
6283fee381
testsuite: making it work without installing OCaml (continued)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13690 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 12:03:58 +00:00
Alain Frisch
4f24f8ab0f
#5980 : only report shadowing against the environment before the 'open'.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13689 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 10:12:31 +00:00
Damien Doligez
9f55c9cbd5
testsuite/typing-warnings: update ref file with new warning introduced in r13683
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13688 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 20:04:25 +00:00
Damien Doligez
178c0d1d41
testsuite: continue making it work without installing OCaml; also make it independent of the user's .ocamlinit
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13687 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 19:48:04 +00:00
Damien Doligez
98c197a63b
testsuite: allow testing without installing (continued)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13686 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 15:20:48 +00:00
Alain Frisch
a3b1c67fff
#5980 : explicit way to silence the new warning (open! X).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13685 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 13:34:53 +00:00
Alain Frisch
e4098f9f42
Typo.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13684 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 12:38:31 +00:00
Alain Frisch
f51bc04b55
#5980 : warning on open statements which shadow an existing identifier (which turns out to be actually used in the scope of the open).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13683 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 12:36:15 +00:00
Damien Doligez
1a2c1ed3e2
make the testsuite work without installing OCaml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13682 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 12:20:59 +00:00
Damien Doligez
5a1a95f5e6
tests/backtrace: harden against leftover files
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13681 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 09:24:44 +00:00
Damien Doligez
13673e1189
tests/lib-threads: still porting to windows
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13680 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 07:44:41 +00:00
Damien Doligez
1f1f64d2d9
testsuite/lib-threads: still trying to make it work across all architectures
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13679 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 15:24:52 +00:00
Damien Doligez
aac1147965
trying to make a test that works on all systems
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13678 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 14:08:08 +00:00
Damien Doligez
1f06400ce4
testsuite/backtrace: fix problem on cygwin with leftover executable file
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 09:48:25 +00:00
Damien Doligez
b2cf57f35f
testsuite/lib-threads: stop all threads before exiting
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13676 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 09:32:29 +00:00
Damien Doligez
9dda1aa675
fixed test to test what happens when we close a file descriptor on which another thread is blocked reading
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13675 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 09:31:58 +00:00
Alain Frisch
1b54fa1d93
Typos.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13674 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 07:43:59 +00:00
Damien Doligez
a3c303c7dd
testsuite/lib-threads: stop all threads before exiting [for Windows]
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13673 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 18:59:08 +00:00
Damien Doligez
c2b3a61ef9
testsuite: simplification of the BYTECODE_ONLY macro
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13672 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 18:34:30 +00:00
Damien Doligez
09812d00fb
testsuite/backtrace: add $(EXE) for windows
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13671 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 17:34:17 +00:00
Damien Doligez
0e199b5f7d
testsuite: more cleanup of the makefiles
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13670 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 17:05:21 +00:00
Damien Doligez
4efee60493
testsuite: Windows (7) does not reliably stop all threads when a process calls exit(). Update thread test to avoid this problem.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13669 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 17:05:07 +00:00
Jérémie Dimino
5de2108817
PR#5982: save and restore the value of errno in caml_leave_blocking_section
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13668 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 15:48:50 +00:00
Jérémie Dimino
d69bd84bb3
PR#5982: save and restore the value of errno in signal handlers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13667 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 15:37:48 +00:00
Damien Doligez
200f97fef6
trying to figure out what goes wrong on the Windows test machines
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13665 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-13 15:11:24 +00:00
Alain Frisch
7fa05e12d4
Fix error message.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13664 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-13 12:15:31 +00:00
Benedikt Meurer
e86e81323a
[arm] Fix code generation bug with "mod 1" (PR#5910).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13662 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-08 13:21:32 +00:00
Xavier Leroy
d31eb278a3
PR#6010 continued: more tests.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13661 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-08 08:55:42 +00:00
Xavier Leroy
0f45880800
PR#6010: Big_int.extract_big_int gives wrong results on negative arguments
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13660 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-08 08:38:55 +00:00
Damien Doligez
51c65627cb
ignore *.exe.manifest files
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13659 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-07 11:26:57 +00:00
Damien Doligez
b0d7af8354
still porting testsuite to msvc64
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13658 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-07 11:26:42 +00:00
Damien Doligez
61013c6e39
ignore .obj and .lib files
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13657 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-07 09:40:52 +00:00
Damien Doligez
2854ba51e5
remove debug message
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13656 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-07 09:40:33 +00:00
Damien Doligez
b43d08c8da
porting to MSVC64; some cleanup; ignore .obj and .lib files
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13655 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-07 09:40:18 +00:00
Damien Doligez
a2f17916d2
porting to MSVC64; some cleanup; ignore .obj and .lib files
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13654 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-07 09:39:38 +00:00
Damien Doligez
0f6e0a35fb
fix broken bswap on MSVC64
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13653 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-07 09:36:53 +00:00
Damien Doligez
362082e1a8
fix testsuite for cygwin
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13652 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-06 18:01:34 +00:00
Jacques Garrigue
9f105f3cba
protect against Ctype.equal changing the representative
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13651 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-04 10:32:06 +00:00
Jacques Garrigue
c09d328c31
More clever handling of constrained parameters:
...
if the same type appears at the right variance inside
parameters, no need to check its type variables
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13650 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-04 08:52:44 +00:00