Fwd: Ambiguity when compiling C code

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: Ambiguity when compiling C code

Boost - Build mailing list

Could you help me diagnose this error:

In my Jamfile I have:

obj auto_diff : auto_diff.c
              : <include>.
              ;

When I do

b2 auto_diff

I get

Error: ambiguity found when searching for best transformation
Trying to produce type 'OBJ' from:
 -  { auto_diff.c.C }
Generators that succeeded:
 -  darwin.compile.c++
 -  darwin.compile.c
First generator produced:
 -  { darwin%darwin.compile.c++-auto_diff.o.OBJ { swig%swig.generate-code-auto_diff.cpp.CPP { darwin%darwin.compile.c.preprocess-auto_diff.i.PREPROCESSED_C { auto_diff.c.C } } } }

Second generator produced:
 -  { darwin%darwin.compile.c-auto_diff.o.OBJ { auto_diff.c.C } }

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build