Commit Graph

574 Commits (ef2cdbe1e7f7ccb2cdf74fa5a1eeb70cd14673e9)

Author SHA1 Message Date
Fabrice Le Fessant 869feeb007 Fix PR#5461
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12033 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-17 21:57:54 +00:00
Alain Frisch bfb35c4fce #5478: makes it possible to specify a custom 'ar' command.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12027 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-16 09:05:37 +00:00
Alain Frisch 267b0f5d3d New warning for unused constructors.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/unused_declarations@12017 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-12 11:24:23 +00:00
Alain Frisch 83d48700ff Replace existing warnings 26, 27, trying to preserve their semantics.
- Warning 26 detects unused variables bound by 'let' or 'as'. In case of a or-pattern,
  a variable is considered to be an "as" variable or not according to the lhs pattern only.

- Warning 27 detects unused variables bound by 'match', 'fun', 'function', and self-variable
  in objects.

- When several values are bound by a given let pattern: if all of them are unused,
  warning 26 is trigerred; if at least one of them is used, the other unused ones
  are reported with warning 27.

This commit also introduces dedicated warnings for unused ancestor variables (objects) and
for-loop indices.




git-svn-id: http://caml.inria.fr/svn/ocaml/branches/unused_declarations@11976 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-29 17:49:58 +00:00
Alain Frisch 957db9c0f5 Forget warning 33 in -warn-help.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/unused_declarations@11970 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-28 14:22:38 +00:00
Alain Frisch 350f214671 More clever algorithm to detect unused (recursive) type declarations.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/unused_declarations@11969 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-28 14:20:53 +00:00
Alain Frisch 85a99d7bd4 Detected unused type declarations. A type declaration can be used (1) through an explicit reference, (2) during signature comparison, or (3) because one of the labels or fields it defines are referenced.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/unused_declarations@11940 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-22 15:42:40 +00:00
Alain Frisch 86d04b3c90 Detect unused open (#5357, #5438).
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/unused_declarations@11937 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-22 11:04:20 +00:00
Alain Frisch f8a7879fb0 New warning 31 to detect a lot more unused value declarations.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/unused_declarations@11924 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21 15:40:54 +00:00
Xavier Leroy e10723e701 Merged proc_nt.ml into proc.ml in directories asmcomp/i386 and asmcomp/amd64.
This avoids much code duplication and is a baby step towards Mingw-64 bits 
support (PR#5179).  (There will be no need to create a third proc_xxx.ml
file for this configuration.)
Also, in amd64/emit_nt.mlp, the ml64 assembler didn't like my label subtractions, so I put the jumptable in code area instead of in data area.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11319 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-16 17:02:48 +00:00
Jacques Garrigue efa8d8896d Shorter error messages for modules
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11225 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-20 05:49:38 +00:00
Jacques Garrigue 9dc661c3bf merge branches/gadts
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11160 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-29 10:32:43 +00:00
Damien Doligez 3b507dd1aa renaming of Objective Caml to OCaml and cleanup of copyright headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Damien Doligez 90664f4ea1 uniform .ignore system
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11133 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 15:37:36 +00:00
Pierre Weis 9bd35bf83c Details.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11097 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-20 21:40:56 +00:00
Pierre Weis 48f2c1714e Ignoring compiled files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10996 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 23:37:35 +00:00
Damien Doligez a53ce2df70 add option -runtime-variant
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10982 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 16:18:05 +00:00
Damien Doligez 451b491a8a warning 28 activated by default
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10923 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-01-06 14:24:26 +00:00
Jacques Le Normand b36e845126 updated VERSION and config files
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10799 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-11-13 11:27:56 +00:00
Jacques Le Normand 1680403fb9 clean up
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10784 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-11-10 06:01:27 +00:00
Jacques Le Normand 304dba8a0f removed Type_variant, fixed bug in GADT exhaustive check
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10734 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-10-21 04:02:02 +00:00
Jacques Le Normand 56624533fb switched to abstract types, still needs work on exhaustion type. the code needs to be cleaned up. printfs need to be removed
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10682 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-09-19 04:55:40 +00:00
Damien Doligez 5e67123bf6 PR#4975: spelling mistakes "overriden" and "informations"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10450 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-21 12:00:49 +00:00
Xavier Leroy 2adec7d747 PR#5033: tools/objinfo made more general.
tools/dumpapprox removed, now subsumed by tools/objinfo.
Introduced asmcomp/cmx_format.mli and used consistently in asmcomp,
  tools/objinfo, and otherlibs/dynlink
Note: ocamlbuild -based build procedure not updated yet.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10424 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-19 11:29:38 +00:00
Damien Doligez e9d9d32b7d cut long lines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10376 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-05 15:08:53 +00:00
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
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
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
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
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
Damien Doligez 27780d9f8a fixed several build problems
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10298 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-22 15:41:16 +00:00
Xavier Leroy b6f408ecc6 PR#4996: Subst.compose revised; Tbl.fold added.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10285 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-20 14:11:28 +00:00
Jacques Garrigue ee36e1d1c5 merge branches/override
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10250 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-08 03:58:41 +00:00
Damien Doligez fbd12a6f68 numbering problem in comments
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9606 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-29 15:02:39 +00:00
Damien Doligez 04b1656222 clean up spaces and tabs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 12:48:24 +00:00
Damien Doligez bdc0fadee2 merge changes from release/3.11.1 to release/3.11.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9540 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-20 16:26:46 +00:00
Damien Doligez 1b8095f404 PR#4940: get rid of naked end-of-lines in string constants + add warning 29
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9512 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-07 15:15:07 +00:00
Damien Doligez 6f1e8fec9d PR#4947 bug in parsing of warning options
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9485 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-22 16:31:46 +00:00
Pierre Weis 758e4cd860 Using -strict-sequence to compile the compiler.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9467 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-09 09:52:47 +00:00
Pierre Weis 700da01338 Adding the -strict-sequence option.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9464 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-09 09:17:12 +00:00
Damien Doligez b2090f66b0 added warning 28: wildcard arg to constant constructor
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9424 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-19 12:27:15 +00:00
Damien Doligez 74aff36031 fine-grained control of warnings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9407 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-02 12:17:49 +00:00
Alain Frisch 1e5b4a4857 Merge first class modules: svn merge -r 9369:9396 $caml/branches/fstclassmod.
Adapt the Changes file. Bump magic numbers. Bootstrap.



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9397 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-10-26 10:53:16 +00:00
Xavier Leroy 349467ec45 New warning `not all labels are mentioned in this record pattern'
moved to letter 'R' (instead of 'E' previously).  Explicitly turned 
off in myocamlbuild configuration.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9391 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-10-22 15:45:54 +00:00
Xavier Leroy 9c6c8fb47e As discussed at the latest consortium meeting:
Syntactic sugar {x} for {x=x} in record expressions and patterns.
Syntax { lbl=pat; _ } to mark record patterns where the user explicitly wants not to list all labels.
Warning (activated by E, the fragile match warning) to signal record patterns without '; _' that fail to list all labels.
To be done: adjust Camlp4 parser accordingly.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9331 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-12 12:41:07 +00:00
Xavier Leroy 11217e8f70 Added option -no-app-funct to turn off applicative functors
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9316 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-15 14:06:37 +00:00
Damien Doligez ed32f569e3 merge changes from ocaml3110 to ocaml3111rc0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-05-20 11:52:42 +00:00
Damien Doligez 1f95b17570 merge changes from 3.10.2merged to 3.11.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9153 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-12-03 18:09:09 +00:00
Damien Doligez 0c26c850b3 "invalid module name" becomes a warning
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9074 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-06 13:53:54 +00:00
Alain Frisch 20bc66eb25 Enable to (old) -dlcode option by default. -nodynlink disables it.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8916 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-15 15:31:32 +00:00
Alain Frisch ff421e9e8b Cleanup + pass -Wl,-E to linker when linking dynlink.cma in custom mode.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8868 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-16 06:50:31 +00:00
Damien Doligez 9ea5edac9a merge changes 3.10.0 -> 3.10.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 16:13:18 +00:00
Nicolas Pouillard b527c48996 [build] Adapt utils/config.mlbuild to native dynlink.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8640 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 12:22:59 +00:00
Alain Frisch 32abe25b89 Same in native code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8523 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-15 16:09:57 +00:00
Alain Frisch 223f7bbfea Improve -output-obj: can now build directly a dynamic library (with all the ccobjs/ccopts); can also produces simply the uncompiled .c file (e.g. to debug). The output name (-o) is now mandatory when -output-obj is used, and only an extension amongst .c, EXT_OBJ, EXT_DLL is allowed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8522 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-15 15:18:28 +00:00
Alain Frisch 1b059475c8 Cleanup and factorization of linker-related code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8521 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-15 13:21:15 +00:00
Alain Frisch 9b8a606bdb Flexdll now takes care of /subsystem:console
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8519 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-13 17:18:50 +00:00
Alain Frisch 4d3cb0211c Keep the variable MKSHAREDLIB from the configure script.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8512 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-12 17:20:38 +00:00
Alain Frisch 44c0af7279 Bump limit before producing diversion. Pass /subsystem:console also on Win64.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8496 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 18:02:40 +00:00
Alain Frisch 3958a92c72 Merge the natdynlink branch into HEAD.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 15:16:56 +00:00
Xavier Leroy 9ccb911666 Can select which assembler to use at configuration time (PR#4171)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8462 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-30 12:37:16 +00:00
Pierre Weis b2157a6afb New magic numbers for AST.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8420 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-09 12:17:20 +00:00
Damien Doligez 1dd68ccf50 ajout des annotations pour variables et appels terminaux
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-05-16 08:21:41 +00:00
Xavier Leroy 8848bf23b9 Invocation of mt.exe (from D.Weil)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7922 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-25 14:58:21 +00:00
Nicolas Pouillard 81cfc29b31 Better handling of multiple extensions (foo.d.cmo, foo.p.cmx...)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7909 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-23 13:44:51 +00:00
Nicolas Pouillard 6c8578a24f *** empty log message ***
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7835 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 15:47:36 +00:00
Damien Doligez 5b52f30e7d deplacement du numero de version -> fichier VERSION a la racine
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7833 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 14:49:42 +00:00
Nicolas Pouillard ee5ff1e8ac Add some .itarget files. Add also _tags, myocamlbuild.ml, myocamlbuild_config.mli, utils/config.mlbuild
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7826 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 10:03:23 +00:00
Xavier Leroy 4b5512c74c Stack backtraces on uncaught exceptions in native code (merge of the opt_backtrace branch)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7812 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-29 12:11:18 +00:00
Damien Doligez 7e7ce6e349 PR#4156 increment AST magic numbers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7730 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-15 11:50:38 +00:00
Xavier Leroy 8d3d91b9a3 Attempt to support Visual C++ 2005. Remain to be tested.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7636 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-23 08:51:31 +00:00
Luc Maranget 6c05350ca4 Corrrect fragile matching
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7634 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-21 14:54:54 +00:00
Jacques Garrigue c1743d099f PR#4026
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7438 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-06-12 07:33:14 +00:00
Xavier Leroy 536dfe0d7c Ajout option /link /subsystem:console pour Windows/msvc et meilleur traitement des options /link passees via -ccopt
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7405 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-09 16:00:36 +00:00
Damien Doligez 1279ab4b76 fusion des changements 3.09.1 -> 3.09.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7382 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-16 23:28:22 +00:00
Jacques Garrigue 602146f892 add virtual instance variables
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7372 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-05 02:28:13 +00:00
Damien Doligez 6f825eae3f ajout .mli
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7170 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-26 13:23:27 +00:00
Jacques Garrigue c54747bf82 warn about useless with in record
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7051 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-15 03:09:26 +00:00
Xavier Leroy d4d7720ca9 Revu implementation de ocamlopt -pack. Remplacement du renommage a posteriori par un renommage a priori via l'option -for-pack
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7003 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-01 15:51:09 +00:00
Damien Doligez 6c9bac39d4 ajout de l'option -config (suggestion de Gerd Stolpmann)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6865 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-05-09 13:39:17 +00:00
Damien Doligez e6007f6057 fusion des changements jusqu'a 3.08.3
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6824 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-24 17:20:54 +00:00
Damien Doligez 98a3ba915b ignorer les warnings inconnus (suggestion skaller)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6787 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-02-16 14:38:32 +00:00
Damien Doligez df6f81e16c PR#3328 option ocaml -init <fichier>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6758 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-01-28 17:52:58 +00:00
Damien Doligez 1971a6ba83 changements sur les warnings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-30 18:57:04 +00:00
Damien Doligez 8397a6a5af suppression de variables inutiles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6697 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-25 13:28:27 +00:00
Damien Doligez 4bea45df35 pour faire "ocamlc -w YZ -warn-error Az"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6674 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-10 12:47:20 +00:00
Damien Doligez 4ffbf5ec57 ajout warning unused variable
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6669 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-06 20:17:47 +00:00
Damien Doligez 85cb1262d6 ajout option -noprompt (toplevel)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6653 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-02 10:42:58 +00:00
Xavier Leroy 63c1789b5e Fusion des modifs faites sur la branche release jusqu'a la release 3.08.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-07-13 12:25:21 +00:00
Damien Doligez fae0bc9d9b PR#1938
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-16 16:58:46 +00:00
Xavier Leroy 6f34fbb120 Revu chop_extension_if_any
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6399 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-13 12:48:25 +00:00
Xavier Leroy 762a006652 Impression des 'rec' et des 'and' dans les signatures inferees (PR#1981,2585)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6386 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-12 08:55:49 +00:00
Xavier Leroy 9d19bcf441 MAJ magic numbers suite aux modifs des objets
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6359 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-01 12:36:34 +00:00
Damien Doligez 5a678d29f5 depollution suite (PR#1914 et PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-01 16:42:43 +00:00
Xavier Leroy 680a54d3c2 Faire cohabiter les threads bytecode et les threads systeme. Ajout option ocamlc -vmthread.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-17 08:38:28 +00:00
Xavier Leroy b0a3c8014b Faire marcher ocamlopt -pack sous Win32-msvc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5651 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-03 15:13:23 +00:00
Pierre Weis f2709a7576 Better error message for fragile patterns.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5533 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-02 12:52:11 +00:00
Luc Maranget 76d5c7aee1 new warning, fragile match
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5528 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-02 09:57:53 +00:00
Pierre Weis 0db5921ea8 Introduction du warning Fragile_pat pour signaler les filtrages
exhaustifs mais fragiles, car sensibles à la modification des types
qu'ils filtrent: une modification d'un des types resterait
insoupçonnée au sens où aucun Warning de filtrage ne serait émis par
le compilateur.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5525 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-02 08:46:06 +00:00
Damien Doligez 43b02185d7 ajout option -stypes; depend
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5478 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-02 01:32:09 +00:00
Xavier Leroy 8493f67918 quote_files genere un @responsefile si necessaire sous Windows
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5455 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-24 15:27:27 +00:00
Xavier Leroy 6000e08ee6 find_in_path_uncap: essayer d'abord le nom en minuscules, puis le nom initial. Ca preserve la compatibilite totale avec 3.06 et corrige partiellement le PR#1572
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5426 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-10 14:07:23 +00:00
Xavier Leroy 0d78a56015 Permettre de placer les sources du module Foo dans Foo.ml aussi bien que dans foo.ml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5417 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-03 17:20:39 +00:00
Damien Doligez 83a6a5fe46 desserrage de la boucle de bootstrap
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5358 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-19 15:49:53 +00:00
Xavier Leroy 53e33caaab Profiling support for Sparc/Solaris
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5306 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-02 12:31:19 +00:00
Xavier Leroy 2548992722 Remplacement de is_bound par source pour les besoins d'ocamlopt
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5275 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-18 10:41:26 +00:00
Xavier Leroy 5e152f7945 - Revu en profondeur la verification des CRC d'interfaces.
Cela corrige le PR#1064.
- Les CRC des modules constituant un programme sont stockes dans
  l'executable bytecode, section CRCS.  Revu Dynlink pour utiliser ces
  CRC au lieu d'attendre de l'utilisateur qu'il les fournisse.
  MAJ du debugger en consequence.
- Introduction et utilisation du fichier stdlib/StdlibModules.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5272 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-17 16:42:12 +00:00
Damien Doligez ed3123ee87 changement des locations, premiere tranche
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5224 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-01 17:06:47 +00:00
Xavier Leroy a1bcfad7c5 MAJ magic numbers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5077 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-05 14:15:46 +00:00
Damien Doligez 37bf95c248 detabisation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5029 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 14:12:03 +00:00
Xavier Leroy ed4fe78854 Nettoyage gestion option -o
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4920 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-11 14:15:12 +00:00
Xavier Leroy a970ebdb7e Retour en arriere sur le trait Foo.ml ou foo.ml comme source du module Foo: sur un file system case-insensitive, cela fait produire a ocamldep des dependances que make ne comprend pas
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4901 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-07 13:08:04 +00:00
Xavier Leroy a82c366504 Portage Mingw et revision du portage Win32/MSVC
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4899 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-07 09:49:45 +00:00
Xavier Leroy 7c3f451166 Ajout flag dont_write_files pour ocamldoc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4897 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-07 08:03:46 +00:00
Xavier Leroy bae0f5d56e Chercher les infos sur le module Foo dans les fichiers Foo.{cmi,cmx} et foo.{cmi,cmx} (PR#1177)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4896 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-07 07:35:38 +00:00
Luc Maranget 842eb76ef7 Nouveaux warning dans les or-pats
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4830 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-24 14:34:37 +00:00
Xavier Leroy 04ebbbfdc6 Ajout rev_split_words
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4783 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-07 13:16:28 +00:00
Jacques Garrigue 0a8236066f vive les methodes polymorphes!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-18 07:27:47 +00:00
Xavier Leroy bae1b84692 Faire Filename.quote sur les noms de fichiers passes au compilo C, etc (PR#896)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4516 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-12 16:17:53 +00:00
Damien Doligez 130e3415fd ajout option -nostdlib
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4409 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-14 15:17:11 +00:00
Xavier Leroy 71cf31f0e2 Ajout du packaging d'unites de compilation (option -pack)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4367 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-08 16:55:44 +00:00
Damien Doligez 8ea64b58dc byterun/finalise.c: support pour les lazy finalises
byterun/gc_ctrl.c: ajout Gc.major_slice
byterun/major_gc.c: gros bug dans les valeurs finalisees + ajout Gc.major_slice
byterun/major_gc.h: gros bug dans les valeurs finalisees + ajout Gc.major_slice
byterun/memory.c: typo dans un commentaire
byterun/minor_gc.c: petit bug, ajout Gc.major_slice
parsing/parser.mly: plus de conflits; l'automate reste identique
stdlib/gc.ml: ajout Gc.major_slice
stdlib/gc.mli: ajout Gc.major_slice
stdlib/sys.ml: ajout Sys.ocaml_version
stdlib/sys.mli: ajout Sys.ocaml_version
utils/config.mlp: ajout Sys.ocaml_version


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4357 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-05 17:11:33 +00:00
Damien Doligez 7daa4a8545 ajout Random.bool et Gc.top_heap_words
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4338 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-01 12:26:41 +00:00
Daniel de Rauglaudre fe0f46244c Added Misc.chop_extension_if_any for the case when the input filename does
not have any extension.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4327 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-28 17:25:26 +00:00
Damien Doligez 0032c482a2 quelques bugs sur les weak hash tables
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4306 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-23 17:54:11 +00:00
Damien Doligez 0dbce74fc8 lazy a la Tolmach
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4291 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 17:39:10 +00:00
Damien Doligez bd6601d913 poteau sur max_tag
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4289 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 17:29:18 +00:00
Damien Doligez 13356e7c5e detabisation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4281 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 15:12:21 +00:00
Damien Doligez 09a8c6bc78 configure: suppression "smart preprocessing" pour MacOS X
asmrun/roots.c, byterun/alloc.c, byterun/gc_ctrl.c, byterun/minor_gc.c,
byterun/minor_gc.h, byterun/roots.c, byterun/startup.c:
         derecursivation du GC mineur

byterun/config.h, stdlib/gc.mli: compactage active par defaut (300%)

otherlibs/unix/select.c: ajout include MacOS X

.cvsignore: bricoles


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4264 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-18 15:13:26 +00:00
Luc Maranget f825892b07 bug 785 (debordement entier cmmgen)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4245 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-10 15:52:40 +00:00
Daniel de Rauglaudre f91952acb1 -
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4225 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-04 15:34:44 +00:00
Xavier Leroy 79be914102 MAJ en vue release 3.04
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4078 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-03 12:41:39 +00:00
Xavier Leroy 320487c59f Revu gestion des backtrace; suppression de RERAISE, utiliser l'adresse de l'objet exception a la place
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4040 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-26 12:47:03 +00:00
Jacques Garrigue 0a76c3b41e copie correcte des variants polymorphes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4034 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-23 04:35:48 +00:00
Jacques Garrigue 50fc257b4c fix PR#632 (incorrect generalization of variants in classes)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4015 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-16 07:26:56 +00:00
Jacques Garrigue e6771d6552 allow coercions from self to own class (when safe!)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3978 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-05 09:12:59 +00:00
Xavier Leroy 343d49401a Revu gestion des DLLs: ne pas les utiliser en mode -custom; dans les .cma et .cmxa, stocker separement les options pour linker statiquement (-cclib) et par chargement dynamique (-dllib).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3949 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-30 09:32:32 +00:00
Jacques Garrigue 2d875fd83d types of functions as parameters was computed twice (PR#590)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3906 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-22 02:39:25 +00:00
Xavier Leroy 68f0c44016 Version 3.03 ALPHA
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3879 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-11 12:09:45 +00:00
Jacques Garrigue 23306c8c51 correction du PR#547: un Not_found produit par find_type s'echappe
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3810 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-28 22:55:27 +00:00
Jacques Garrigue dadb2acc94 labels omitted off par defaut
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3799 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-27 07:31:29 +00:00
Jacques Garrigue 42d1811a93 enrich variant types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3788 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-25 09:54:18 +00:00
Jacques Garrigue 0951fb4cdc remove systhreads_link
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3787 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-25 09:37:56 +00:00
Jacques Garrigue 4bdf28108f avoid problem with dlsym/failwith and keep thread linking info
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3701 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-07 05:56:31 +00:00
Jacques Garrigue ea299bbbc1 passage aux labels stricts
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3696 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-06 08:52:32 +00:00
Xavier Leroy ddd99c7e5d Chargement dynamique de primitives C
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-28 14:47:48 +00:00
Jacques Garrigue c9bc7c53cf fix PR#492
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3653 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-23 23:21:30 +00:00
Xavier Leroy 9077e05f42 Debut revisions pour 3.03
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3628 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-09 08:21:09 +00:00
Xavier Leroy 452f5458de Preparation release 3.02
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3600 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-07-27 12:27:00 +00:00
Damien Doligez 050f8ffc31 bug dans un commentaire
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3533 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-06-18 12:26:27 +00:00
Jacques Garrigue b926109058 coercions simple compatibles avec heritage
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3520 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-06-08 07:52:30 +00:00
Xavier Leroy 9387fab6bc Gestion correcte du cas ou une fonction utilise un espace de pile superieur a Stack_threshold (PR#339)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3518 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-05-28 15:14:18 +00:00
Jacques Garrigue 3d3698bf00 PR #360
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3517 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-05-22 03:38:52 +00:00
Jacques Garrigue 02ca0f87f8 enforce uniqueness of typing in label mode
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3490 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-04-19 08:34:21 +00:00
Xavier Leroy 0ec00520a7 Version = 3.01; MAJ deps
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3458 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-03-06 12:53:58 +00:00
Jacques Garrigue 141578ccef ajout d'un champ filtrage a Reither
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3453 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-03-03 00:14:35 +00:00
Jacques Garrigue c42b5e17a7 typage plus liberal des variants
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3451 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-03-02 13:15:58 +00:00
Luc Maranget eb7578b8db optimsation pm a donf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3427 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-02-19 20:27:52 +00:00
Damien Doligez f0c2bccefd GC: compteurs flottants + alarmes
Arg: affichage option -help


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3400 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-02-05 14:59:44 +00:00
Pierre Weis 2116da4220 Getting rid of obsolete boolean operators & and or
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3359 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-12-28 13:07:42 +00:00
Jacques Garrigue 447c79eade deplace expand_directory dans Misc, pour generaliser -I +package
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3358 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-12-28 05:02:43 +00:00
Damien Doligez b80c77b025 fix -noassert pour que le typage des assertions soit toujours fait
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3353 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-12-04 15:37:05 +00:00
Damien Doligez 9d1cf09c54 bcopy -> memmove dans otherlibs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3341 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-11-23 13:45:03 +00:00
Pierre Weis cb681720ea Suppression de fonctions sur les listes redondantes car deja definies
dans la librairie standard. Attention Misc.for_all2 et List.for_all2
ont des semantiques tres legerement differentes. Il est donc hasardeux
de supprimer Misc.for_all2 sans une analyse précise de toutes ses
utilisations!


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3340 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-11-22 13:51:07 +00:00
Jacques Garrigue 9a9af71842 correct bug in typing of variant matching (PR#217)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3326 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-11-06 09:49:27 +00:00
Damien Doligez 836c1851dd PR#212, suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3323 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-10-31 14:55:30 +00:00
Damien Doligez 0f45531954 passage a ANSI C -> suppression bcopy et memmov
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3322 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-10-29 17:36:44 +00:00
Damien Doligez bf5cdff645 pas de curses en natif
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3318 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-10-27 15:18:24 +00:00
Damien Doligez eb43ecffcb PR#212
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3316 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-10-26 13:38:43 +00:00
Luc Maranget ab97fd0dcc or-pat avec variables et compil du switch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3304 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-10-02 14:18:05 +00:00
Damien Doligez ee0828c9c4 bug begin end
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3295 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-09-06 14:18:32 +00:00
Jacques Garrigue 83ca813e4b ajout des variances
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3294 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-09-06 10:21:07 +00:00
Jacques Garrigue e477ccd225 relaxation de la semantique des effets de bords sur les parametres
optionels, pour permettre une compilation plus efficace.
modifie' translcore, typedtree, typecore, typeclass


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3293 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-09-04 08:49:32 +00:00
Damien Doligez fad2c06db5 alpha-conversion pour eviter un clash bizarre sur Rhapsody
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3292 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-09-01 18:38:43 +00:00
Damien Doligez 3d7b7c2e37 option -warn-error
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3283 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-08-23 17:13:17 +00:00
Jacques Garrigue bda548635f autorise l'application d'une contrainte a un type en cours de definition
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3265 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-08-04 03:29:42 +00:00
Damien Doligez 21fd21f35f truncate sur tableau de floats PR#156
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3233 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-07-10 11:28:38 +00:00
Jacques Garrigue 3d77c514c3 ameliorations dans Typecore et Typeclass
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3220 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-06-30 01:32:17 +00:00
Jacques Garrigue b1bff2927c Rend build_subtype plus intelligent.
Incompatibilite' potentielle.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3209 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-06-23 08:08:34 +00:00
Jacques Garrigue 1b1e463092 Simpifie les types de variantes, change le typage des matchings ouverts
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3195 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-06-11 14:34:10 +00:00
Jacques Garrigue 09857eb69f 3.00+5: delay constraint checking in type declarations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3175 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-05-24 06:19:39 +00:00
Jacques Garrigue d6fc16fed8 bug fixes: PR#128,#109,#112,#117,#127
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3174 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-05-24 01:25:42 +00:00
Jacques Garrigue c0f804929d clean-up variant typing to recover principality
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3157 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-05-12 18:22:35 +00:00
Jacques Garrigue a681b5863b petite amelioration de la normalisation des types et des alias d'impression
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3154 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-05-11 02:22:54 +00:00
Damien Doligez 42e3de582d mise au carre des ofs+len (PR#96)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3152 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-05-08 17:53:58 +00:00
Xavier Leroy 9bacf41bfa Eradication de Formatmsg
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3126 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-21 11:55:31 +00:00
Xavier Leroy f98aaf3762 MAJ pour 3.00
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3125 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-21 11:54:35 +00:00
Pierre Weis 9abfff060e Suppression de Formatmsg, réécriture des messages à l'aide de Format.fprintf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-21 08:13:22 +00:00
Jacques Garrigue 83d263db03 nativeint/float conversion + bug in eqtype on variants
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3110 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-19 04:30:16 +00:00
Xavier Leroy 6f54bb063b Distinguer entre compilo C et linker C dans ocamlc et ocamlopt
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3092 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-16 14:34:58 +00:00
Jacques Garrigue 276af94f3d error messages
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3081 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-14 03:41:18 +00:00
Jacques Garrigue 780b65fca6 nouvelle syntaxe avec tilde
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3061 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-12 03:43:25 +00:00
Damien Doligez c546d3683d MacOS
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3049 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-07 16:15:34 +00:00
Damien Doligez 136e2a0d63 *** empty log message ***
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3044 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-05 18:32:03 +00:00
Jacques Garrigue aeabf36020 passage aux labels legers + ajouts de "of" dans les variantes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3026 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-03 02:00:43 +00:00
Damien Doligez 3f434abf94 re-renommange: "-label" -> "-labels"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2986 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-24 19:31:25 +00:00
Xavier Leroy 7dfe9784b7 Revu la gestion des records de flottants
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2978 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-21 14:43:25 +00:00
Damien Doligez df6ced1fc9 "modern" -> "label" suite (et fin ?)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2976 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-20 21:00:11 +00:00
Damien Doligez 06fc55f848 coherence des options entre ocamlc et ocamlopt
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2975 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-20 20:23:07 +00:00
Damien Doligez 8deb9d71c4 changement "modern" -> "label"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2974 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-17 21:27:48 +00:00
Damien Doligez badb27c629 PR#33 + messages labels de records
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2967 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-16 16:45:04 +00:00
Xavier Leroy c4801c35fb Ajout du renommage d'exceptions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2947 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-12 13:10:29 +00:00
Xavier Leroy c7b7c24381 Nouveau format de .cma et .cmxa, se rappelle des -cclib et -ccopt necessaires pour le link final
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2930 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-09 09:12:28 +00:00
Xavier Leroy ee2c3d5bc6 Nouveau format extensible d'executables bytecode
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2903 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-05 19:18:50 +00:00
Damien Doligez 8d180f7ae3 fix bug #44
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2898 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-03 15:15:43 +00:00
Xavier Leroy 8599d817b4 Ajout split_last
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2878 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-28 15:47:13 +00:00
Jacques Garrigue 6f39a8f48d variant fixes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2861 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-25 03:33:54 +00:00
Jacques Garrigue d645ee43e9 #name notation to automatically generate or-pattern from variant type name
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2844 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-22 03:08:08 +00:00
Jacques Garrigue 1e84be9cd5 label related fixes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2809 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-12 23:19:35 +00:00
Xavier Leroy 1cac403368 Ajout des modules Int32, Int64 et Nativeint
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2807 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-11 15:09:27 +00:00
Jacques Garrigue 9ac4b7df38 new labels in List, Set, Unix and ThreadUnix
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2775 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-01 06:52:39 +00:00
Damien Doligez ae1b539603 reprenons un systeme de numeros de versions qui marche
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2767 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-24 16:21:30 +00:00
Jacques Garrigue ea77b3d485 Variant compilation bugs: simple mistakes in matching.ml, and incorrect use of Const_pointer for 31-bit integers in translcore.ml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2747 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-07 17:21:29 +00:00
Damien Doligez 0a2021e986 finalisation de valeurs allouees
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2746 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-07 16:51:58 +00:00
Damien Doligez b234d1769c detabisation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2745 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-07 16:47:25 +00:00
Damien Doligez 9968714ee2 optimisation des racines globales pour le GC mineur
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2733 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-05 13:16:31 +00:00
Damien Doligez 44ee12deae fix bug ligne trop longue
amelioration message d'erreur illegal character


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2724 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-30 17:10:24 +00:00
Damien Doligez 1dd0eb6e0a refonte pour faciliter l'ajout de nouveaux flags
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2716 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-23 18:02:58 +00:00
Daniel de Rauglaudre 8207892eb7 Changed the fucking ast magic numbers to avoid fucking core dumped when
using fucking preprocessors.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-16 14:29:25 +00:00
Jacques Garrigue 77d4f18ce6 changed label_pattern syntax
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-08 08:21:57 +00:00
Jacques Garrigue bacf15f614 changed syntax for default values
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2673 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-07 15:00:37 +00:00
Xavier Leroy 45a18236df Revu compilation du filtrage des variants. Ajout de la primitive Pisint et de l'instruction bytecode ISINT.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2669 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-06 16:59:24 +00:00
Jacques Garrigue 904d1a1580 some changes in bytecomp
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2666 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-02 09:51:13 +00:00
Jacques Garrigue b8afc6496e * better printing
* threads Makefile bug
* label changes


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2660 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-01 09:54:03 +00:00
Jacques Garrigue 04cc48209b dead files
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2655 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-30 17:21:48 +00:00
Jacques Garrigue 296fc05470 Merge olabl branch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2651 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-30 16:07:38 +00:00
Damien Doligez 44c244d311 tabs -> spaces
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2638 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-29 19:04:56 +00:00
Damien Doligez 7cbb370448 un tas de petits trucs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2637 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-29 19:04:52 +00:00
Damien Doligez 096a160b1e MacOS: utilisation de ToolServer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2636 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-29 19:04:49 +00:00
Xavier Leroy 5fda7804c4 Version 2.04
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2589 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-23 10:50:50 +00:00
Xavier Leroy 118057fd9e Passage a la version 2.03
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2555 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 19:12:00 +00:00
Xavier Leroy cc0f32b054 Changement de la licence
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Damien Doligez 536805736c exception -> false dans les assertions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2524 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-15 12:44:49 +00:00
Jérôme Vouillon 8ead6cda81 Option pour accepter des types recursifs (demande de Pascal Cuoq)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2500 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-08 23:45:01 +00:00
Damien Doligez 4a3e2f044b Macintosh
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2497 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-08 19:03:57 +00:00
Xavier Leroy a048d42b10 Ajout du module Formatmsg pour rediriger les messages du systeme vers stdout ou stderr suivant le contexte
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2486 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-08 17:06:33 +00:00
Luc Maranget 9f6e05ecce Partial match avec joli message
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2452 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-10-29 14:42:37 +00:00
Damien Doligez 074938fb5b ajout warnings commentaires suspects
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2447 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-10-21 10:04:08 +00:00
Damien Doligez 3f10f2b54d stdlib/list: ajout rev_map et rev_map2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2410 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-09-19 12:55:44 +00:00
Damien Doligez 7780cf7ef6 Encore des fixes pour le profiler
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2408 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-09-14 17:20:03 +00:00
Damien Doligez ae90e22461 clflags.ml: ajout de l'option -dparsetree (pas encore implementee)
config.mlp: fix du profiler, ajout option -dparsetree


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2403 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-09-08 17:43:13 +00:00
Damien Doligez ed00c68b5d otherlibs/nums/big_int.ml: fix du fix de square_big_int
profiler: patch de cregut pour les threads + transparent aux .mli


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2390 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-08-03 17:59:43 +00:00
Damien Doligez 261e7006f4 incr
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2385 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-07-22 13:01:12 +00:00
Xavier Leroy 253d2025aa Ajout de -dcombine
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2370 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-05-15 15:10:00 +00:00
Xavier Leroy 683caf6dc9 MAJ en vue release 2.02
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2323 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-03-02 14:49:58 +00:00
Xavier Leroy 5038f3cdb6 Ajout de Pervasives.ignore. List.remove -> List.remove_ass*
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2304 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-02-24 15:21:50 +00:00
Xavier Leroy a0257345ce Ajout de list_remove (a mettre dans List?)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2268 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-02-04 10:32:27 +00:00
Xavier Leroy 1c47e1d330 Passage version 2.01
Pervasives: ajout int_of_char, char_of_int
Char: suppression int_of_char, char_of_int


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2229 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-12-08 14:53:55 +00:00