Commit Graph

7394 Commits (e09a12388f32e8572f14c6a681552a864ef79930)

Author SHA1 Message Date
Alain Frisch e09a12388f New -help-warnings command-line option.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10369 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 18:44:38 +00:00
Alain Frisch 6db50e804c Update comment.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10367 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 17:45:43 +00:00
Alain Frisch 46334f76c2 Allow range of warnings and synchronize default for warnings given in usage info with the real code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10366 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 17:39:17 +00:00
Pierre Weis f14587620c Generalization of unbound identier error narrowing to all kind of qualified
idents (constructors, labels, types, classes).
Bump version.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10365 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 16:26:33 +00:00
Xavier Clerc e4afbef687 Test modified to be locale-independent.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10364 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 15:09:32 +00:00
Xavier Clerc a6097aa436 LD_LIBRARY_PATH explicitly set for dynlink test.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10363 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 15:09:01 +00:00
Xavier Clerc 1cae57a969 Correct assembler symbols under amd64 whether the system is MacOS X or not (testsuite).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10362 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 13:23:00 +00:00
Xavier Clerc cd481b8013 Undefined variables preferred to empty ones in Makefiles.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10361 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 10:37:53 +00:00
Xavier Clerc b7717b0f4b GNUmake-specific 'patsubst' constructions replaced with make-agnostic variable substitutions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10360 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 07:46:14 +00:00
Xavier Clerc b651ef72a5 Filtering of ocamldoc warnings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10359 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 07:44:56 +00:00
Alain Frisch 4b95af6a3c Fix bug #5043.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10358 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 07:41:41 +00:00
Maxence Guesdon dbd3762a96 ajout d'un fichier de test pour ocamldoc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10356 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 15:12:09 +00:00
Maxence Guesdon 6fa137373c ocamldoc: handle Pmod_unpack and Tmod_unpack
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10355 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 15:06:17 +00:00
Xavier Clerc 7325d7c1f1 Makefile conditionals replaced with shell conditionals for improved portability
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10354 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 15:00:11 +00:00
Xavier Clerc fa65051668 Filtering of ocamldoc warnings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10353 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 14:59:00 +00:00
Xavier Clerc 2148b19105 Update of reference file.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10352 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 10:26:50 +00:00
Xavier Clerc 3c6b91455e The warning related to method overriding is now disabled.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10351 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 09:40:52 +00:00
Xavier Clerc f80a60d1a0 Typo in the deletion of bytecode programs.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10350 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 09:38:04 +00:00
Xavier Clerc 5dad1ef161 The warning related to method overriding is now disabled.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10349 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 09:36:13 +00:00
Pierre Weis b443ee91ff Documentation. Adding a <<deprecated>> section to list deprecated stuff out of the way from the regular stuff.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10348 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 09:18:20 +00:00
Pierre Weis 1a868db7b8 Documentation. Adding a <<deprecated>> section to list deprecated stuff out of the way from the regular stuff.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10347 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 09:17:37 +00:00
Pierre Weis e9de1fb06b PR#5023. Adding some documentation words for function set_formatter_output_channel.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10346 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 07:09:33 +00:00
Pierre Weis 5abbfde92c PR#4983 corrected.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10345 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-02 18:39:03 +00:00
Pierre Weis 8fdedc9035 PR#4983. Test suite succesfully passed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10344 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-02 18:38:35 +00:00
Pierre Weis ec31aa4414 Numbering corrected.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10343 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-02 18:21:57 +00:00
Pierre Weis 5ba24ee337 Typo
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10342 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-02 11:34:09 +00:00
Damien Doligez aa6df7ff19 make command-line parsing forward-compatible
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10341 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 14:41:57 +00:00
Damien Doligez 7c9c51b21d updated Random and warnings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10340 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 14:19:30 +00:00
Damien Doligez dad5f517a4 addition of warning 30 changed dependencies
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10339 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 14:19:09 +00:00
Damien Doligez f93ec9a9cd disable shared libraries on 32-bit 10.6
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10338 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 14:18:45 +00:00
Alain Frisch c7ca3843a9 Fix 'make clean' under Windows.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10337 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 13:27:35 +00:00
Alain Frisch ad42f8a8f6 Extend nondep_type to deal with 1st class modules.
For instance, in:

module F(X : sig module type S end) = struct type t = (module X.S) end
include F(struct module type S = sig end end)

the resulting type t is turned into an abstract type.



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10336 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 11:59:50 +00:00
Jacques Garrigue 8e60370dbb distinguish conflicting identifiers with same name (PR#4716)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10333 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 07:11:27 +00:00
Jacques Garrigue 80b48b7a69 make duplicate definitions a warning rather than an error
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10332 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 06:26:51 +00:00
Jacques Garrigue b2730e0f81 check for duplicate labels and constructors across recursive type definitions (PR#3601)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10331 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 05:59:40 +00:00
Jacques Garrigue 7312e2e22c fix order for PR#5036
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10330 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 05:12:44 +00:00
Jacques Garrigue 7b8e39b8ea fix PR#4884, using same technique as rev. 8888
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10329 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 03:07:35 +00:00
Jacques Garrigue a51b04dec7 remove spurious code
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10328 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 01:56:21 +00:00
Xavier Leroy 30878cea6c PR#5017: shift_right_big_int on negative numbers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10327 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-29 13:53:01 +00:00
Xavier Leroy 820544607a PR#4741: put -L options before file names, which can be -lxxx
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10326 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-28 12:09:32 +00:00
Xavier Leroy 1def025fde Updated Windows makefiles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10325 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-28 12:00:27 +00:00
Xavier Leroy 93508995e0 PR#4676: wrong constant in Win64 IL32LLP64 model
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10324 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-28 11:59:09 +00:00
Didier Rémy 34c0efcc4e Added save-excursion to ocaml-link-activate.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10323 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-28 11:11:07 +00:00
Didier Rémy ffb6aee83e fixes bug 0004997
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10322 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-28 10:33:43 +00:00
Xavier Leroy 236ffb982a PR#5036: check for nongeneralized type variables in "module type of".
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10321 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-28 07:53:19 +00:00
Jacques Garrigue 3810a32f6f fix PR#5037
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10320 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-28 04:54:57 +00:00
Xavier Leroy cce13b3fe7 More tests for floating-point comparisons
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10319 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-27 13:01:53 +00:00
Pierre Weis c73e191b80 Documentation + some rewriting in check_next_char.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10318 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-27 10:35:18 +00:00
Didier Rémy 482ae23e13 fixes bug 0005016--missing quote
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10317 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-27 08:45:18 +00:00
Didier Rémy e36857e8eb fixes bug 0005016
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10316 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-27 08:26:53 +00:00