Menu

#23 Failed to build libmaa under Cygwin again...

compilation_problem
open
libmaa (2)
5
2012-12-10
2012-07-30
No

I previously reported:

https://sourceforge.net/tracker/?func=detail&aid=3398121&group_id=605&atid=100605

I still have this issue. As I can't find the way add new comment I open new bug.

Look for history of 'maaP.h':

revision 1.22
date: 2003/10/26 13:03:24; author: cheusov; state: Exp; lines: +10 -2

checking for presence of getopt(3) and SIZEOF_VOID_P define

@@ -103,9 +109,11 @@
# include <getopt.h>
#else <<=== else if !!!
#if !HAVE_GETOPT
-extern int getopt( int, char **, char * );
+extern int getopt( int, char * const *, const char * );
extern int optind;
extern char *optarg;
+#else
+# include <unistd.h>
#endif
#endif

I don't search history fully but currently this file have no "else if":

#if HAVE_GETOPT_H
# include <getopt.h>
#endif
#if !defined(HAVE_GETOPT)

So I decide return to old logic (which seems logical to me). See patch.

Discussion

  • Oleksandr Gavenko

    fix

     
  • Nobody/Anonymous

    Have you ever considered writing an ebook or guest authoring on other sites? I have a blog based upon on the same subjects you discuss and would love to have you share some stories/information. I know my viewers would appreciate your work. If you are even remotely interested, feel free to shoot me an e mail.
    cheap north face jackets http://549744.members.page4.me

     
  • Nobody/Anonymous

    Hmm it looks like your site ate my first comment (it was super long) so I guess I'll just sum it up what I had written and say, I'm thoroughly enjoying your blog. I as well am an aspiring blog blogger but I'm still new to everything. Do you have any tips and hints for novice blog writers? I'd genuinely appreciate it.
    north face jackets sale http://www.wilmingtonit.com/forums/topic.php?id=260572&replies=1