Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

const char pointer in caml_named_value #3178

Closed
vicuna opened this issue Sep 17, 2004 · 2 comments
Closed

const char pointer in caml_named_value #3178

vicuna opened this issue Sep 17, 2004 · 2 comments
Assignees
Labels

Comments

@vicuna
Copy link

vicuna commented Sep 17, 2004

Original bug ID: 3178
Reporter: administrator
Assigned to: @damiendoligez
Status: closed (set by @damiendoligez on 2006-09-11T12:13:16Z)
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Has duplicate: #3396

Bug description

Full_Name: Jürgen Pfitzenmaier
Version: 3.08.1
OS: linux
Submission from: iskcp50.fask.uni-mainz.de (134.93.34.150)

in byterun/callback.c and in byterun/callback.h
the function caml_named_value takes an argument of
type: char *
This gives a warning message from the C compiler if
that function is called with a constant C string like
caml_named_value("a constant string")
This behaviour could be corrected if the functions
caml_named_value and hash_value_name take an argument
of type: const char *

@vicuna
Copy link
Author

vicuna commented Nov 15, 2004

Comment author: administrator

a faire pour 3.10

@vicuna
Copy link
Author

vicuna commented Sep 11, 2006

Comment author: @damiendoligez

done for 3.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants