On Tue, Nov 14, 2000 at 08:38:45PM +0100, Lars Gullik Bjønnes wrote:
> "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes:
> 
> | Hi, 
> | 
> | I had to make this change to get the compile to continue:
> | 
> | --- src/support/tempname.C      2000/11/14 02:01:57     1.3
> | +++ src/support/tempname.C      2000/11/14 19:24:01
> | @@ -12,6 +12,8 @@
> |  
> |  extern string system_tempdir;
> |  
> | +extern "C" { int mkstemp(char*); }
> | +
> 
> That is not a fix.
> What did configure report about mkstemp? can you also check your
> system headers if mkstemp are present? It could be in unistd.h
> instead of in stdlib.h, please check.

There is no mkstemp present in my system headers:

  find /usr/include | xargs grep -i mkstemp

The above finds nothing.

  find /usr/include | xargs grep -i mktemp

The above found:

/usr/include/stdlib.h:extern char *mktemp(char *);
/usr/include/stdlib.h:extern char *mktemp();


> | warning: called from here 
> | In file included from Dialogs.C:22:
> | FormPreferences.h: At top level:
> | FormPreferences.h:110: parse error before `>'
> 
> I do not have a '>' close to that position so I am not sure what to
> look for.
> 
> (my l.110: void applyPrinter() const)
> 
>         Lgb

>From FormPreferences.h:

  106           ///
  107           bool browse( FL_OBJECT * input,
  108                        string const & title, string const & pattern,
  109                        std::pair<string,string> const & dir1 =
  110                           std::pair<string,string>(),
  111                        std::pair<string,string> const & dir2 =
  112                           std::pair<string,string>() );
 


-- 
Kayvan A. Sylvan                   | Proud husband of      | Father to my kids:
Sylvan Associates, Inc.            | Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory

Reply via email to