| Anonymous | Login | Signup for a new account | 2013-05-21 21:15 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0004848 | OCaml | OCaml general | public | 2009-08-19 19:20 | 2012-09-17 17:21 | ||||||
| Reporter | idadesub | ||||||||||
| Assigned To | doligez | ||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||||
| Status | assigned | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 3.11.0 | ||||||||||
| Target Version | 4.00.2+dev | Fixed in Version | |||||||||
| Summary | 0004848: ocamlc is being noisy when running with g++-4.4 | ||||||||||
| Description | When we compile the ocaml bindings for llvm, ocamlc is very noisy with this particular error: $ /usr/bin/ocamlc -cc "g++ -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic" -I /scratch/llvm/llvm-build-Debug/Debug/lib/ocaml -warn-error A llvm.cma llvm_analysis.cma llvm_bitwriter.cma /scratch/llvm/llvm/test/Bindings/Ocaml/vmcore.ml -o vmcore.ml.tmp /tmp/camlprim1539f1.c:1490: warning: deprecated conversion from string constant to ‘char*’ /tmp/camlprim1539f1.c:1490: warning: deprecated conversion from string constant to ‘char*’ /tmp/camlprim1539f1.c:1490: warning: deprecated conversion from string constant to ‘char*’ /tmp/camlprim1539f1.c:1490: warning: deprecated conversion from string constant to ‘char*’ ... I looked at that file, and it looks like ocaml is generating a file with: char * caml_names_of_builtin_cprim[] = { "caml_alloc_dummy", "caml_alloc_dummy_float", "caml_update_dummy", "caml_array_get_addr", ... }; I believe if that was a "const char*" this error would go away. Unfortunately, I haven't been able to reduce this down to a smaller example since I can't figure out when ocaml actually generates this block of text. | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-08-19 19:20 | idadesub | New Issue | |
| 2011-05-31 16:20 | doligez | Status | new => assigned |
| 2011-05-31 16:20 | doligez | Assigned To | => doligez |
| 2012-07-11 14:22 | doligez | Target Version | => 4.01.0+dev |
| 2012-07-31 13:36 | doligez | Target Version | 4.01.0+dev => 4.00.1+dev |
| 2012-09-17 17:21 | doligez | Target Version | 4.00.1+dev => 4.00.2+dev |
| Copyright © 2000 - 2011 MantisBT Group |