Xiangfu Liu wrote:
> --- a/src/compiler/compiler.h
> +++ b/src/compiler/compiler.h
> @@ -21,6 +21,7 @@
>  #ifndef STANDALONE
>  #include <rtems.h>
>  #include <bsp/milkymist_pfpu.h>
> +#include <fpvm/fpvm.h>

I beat you by a few minutes with a different fix :-)

> --- a/src/compiler/fpvm.h
> +++ b/src/compiler/fpvm.h
> @@ -24,9 +24,6 @@
>  #ifndef __FPVM_H
>  #define __FPVM_H
>  
> -#include <fpvm/fpvm.h>
> -
> -
>  void fpvm_init(struct fpvm_fragment *fragment, int vector_mode);

Did the include cause any trouble ? It's needed, at least in theory,
for the use of struct fpvm_fragment.

> diff --git a/src/compiler/parser.y b/src/compiler/parser.y
> index 23754c0..62409f3 100644
> --- a/src/compiler/parser.y
> +++ b/src/compiler/parser.y
> @@ -21,8 +21,8 @@
>       #include <stdlib.h>
>       #include <malloc.h>
>       #include <math.h>
> -     #include "fpvm/ast.h"
> -     #include "fpvm/fpvm.h"
> +     #include <fpvm/ast.h>
> +     #include <fpvm/fpvm.h>

Good catch, thanks ! Sebastien, will you pick this from the patch
or shall I include it as a fresh patch in the next set of changes ?

- Werner
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode

Reply via email to