#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    48
    Rep Power
    2

    Struct has unknown sorage size


    #include<glob.h>

    struct glob_t globulation;

    int check = glob(&char1, GLOB_NOMAGIC | GLOB_NOSORT | GLOB_NOESCAPE,
    &errfunc, globulation);

    error: storage size of "globulation" isn't known.

    So, what does this mean?
    How do I fix it?
  2. #2
  3. Contributing User
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jan 2003
    Location
    USA
    Posts
    7,145
    Rep Power
    2222
    I don't have access to glob.h.

    What is the declaration of struct glob_t? And of glob()?
  4. #3
  5. No Profile Picture
    I haz teh codez!
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Dec 2003
    Posts
    2,548
    Rep Power
    2337
    I think you want just
    Code:
    glob_t globulation;
    I ♥ ManiacDan & requinix

    This is a sig, and not necessarily a comment on the OP:
    Please don't be a help vampire!
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    48
    Rep Power
    2
    I'll try that.

IMN logo majestic logo threadwatch logo seochat tools logo