I only had cpp-4.0 and tried your suggestion with that; bin-prot compiles completely.


On Wed, Oct 22, 2008 at 1:57 PM, Nobuyuki TOMIZAWA <n-tomizawa@mua.biglobe.ne.jp> wrote:
Hi, list,


Thank you for the replies. In type_class.ml and type_class.mli, I replaced (*pp cpp $ARCH_FLAGS *) with (*pp gcc -E $ARCH_FLAGS *). 

Another option is to use /usr/bin/cpp-4.2 instead of /usr/bin/cpp.

After making symbolic link  ~/bin/cpp to /usr/bin/cpp-4.2 (and put `~/bin' in PATH),  I succeed to build bin-proto without source code modification.

-- nobuyuki