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

camlidl always fails #2557

Closed
vicuna opened this issue May 6, 2004 · 2 comments
Closed

camlidl always fails #2557

vicuna opened this issue May 6, 2004 · 2 comments

Comments

@vicuna
Copy link

vicuna commented May 6, 2004

Original bug ID: 2557
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: -for CamlIDL use https://github.com/xavierleroy/camlidl/issues

Bug description

Full_Name: Chris Curtis
Version: 3.07
OS: Mac OS X 10.3.3
Submission from: dsl093-224-176.slc1.dsl.speakeasy.net (66.93.224.176)

I built camlidl-1.04 with no problems, but regardless of what file I attempt to
process it fails with the following error:

[widget:/camlidl-1.04/tests] chris% make
../compiler/camlidl -header basics.idl
File basics.idl, line 1, column 0: Illegal character #
make: *** [basics.o] Error 2
[widget:
/camlidl-1.04/tests] chris%

I have made no changes to camlidl other than configuring the Makefile as
specified.

In case it's helpful, an extract from the tempfile created is:

1 "../tests/basics.idl"

#pragma GCC set_debug_pwd "/Users/chris/camlidl-1.04/compiler"

1 ""

1 ""

1 "../tests/basics.idl"

[pointer_default(ref)]
interface Basics {

int f1([in] int x);

... etc.

@vicuna
Copy link
Author

vicuna commented May 8, 2004

Comment author: administrator

I built camlidl-1.04 with no problems, but regardless of what file I
attempt to process it fails with the following error:
[widget:/camlidl-1.04/tests] chris% make
../compiler/camlidl -header basics.idl
File basics.idl, line 1, column 0: Illegal character #
make: *** [basics.o] Error 2
[widget:
/camlidl-1.04/tests] chris%
In case it's helpful, an extract from the tempfile created is:

1 "../tests/basics.idl"

#pragma GCC set_debug_pwd "/Users/chris/camlidl-1.04/compiler"

This cpp-introduced #pragma is the source of the problem. Setting

CPP=cpp -traditional

in config/Makefile might help. Alternatively, if your .idl source
files do not need to be preprocessed by cpp, just pass the -nocpp flag
to camlidl.

  • Xavier Leroy

@vicuna
Copy link
Author

vicuna commented May 12, 2004

Comment author: administrator

cpp madness. Fixed 2004-05-12 by XL.

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

No branches or pull requests

1 participant