Using structs in target .opt file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I cannot figure out whether it's possible to use custom structure
types in an .opt file like this:

  TargetVariable
  const struct foo *bar

Including the file that defines the struct type does not help.

  HeaderInclude
  <path>/struct_foo.h

==>

make[2]: Entering directory `.../build-march/gcc'
build/gengtype  \
                    -S ../../gcc -I gtyp-input.list -w tmp-gtype.state
/bin/sh ../../gcc/../move-if-change tmp-gtype.state gtype.state
build/gengtype  \
                    -r gtype.state
warning: structure `foo' used but not defined
(null):0: incomplete structure `foo'
warning: structure `foo' used but not defined
(null):0: incomplete structure `foo'
make[2]: *** [s-gtype] Error 1

Is there a way to do this (other than just using "void *")?

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux