delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/12/19:34:09

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type; q=dns; s=default; b=WF2SQ8/hm877MASCR1yCtRFWoe019
ZL1yoV+9ZncwVi9ZtciGimUyDXmHhtEgB1U1UohcSBBfDirwlFyryiGIKo89yreT
CQUCcD21Ha9TZtRxyx37PGDB5KqFrfGQeVHE6hUoHgNjVagtuI66n/w53t6t/JPf
B3KyPsWBISWEVU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type; s=default; bh=BOI+i1ssvF+LHlS/T+i3sVzriME=; b=My/
yhUwaiKcANxLF2yCRNIMX9vIErM9TZxF6vn6MhG1vIGGK9EL705my8tFV+db+Eho
sJViEvbw7l/wzri0b309ggX/W78bW23TSuyRvSwzHbsaOefmqwl5ineX0whDJnOc
3HBUtaYaKrCpO6PH74J7hiKS1hJDNaTJooW0GPRE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-we0-f182.google.com
X-Received: by 10.180.99.225 with SMTP id et1mr8613449wib.13.1394647605379; Wed, 12 Mar 2014 11:06:45 -0700 (PDT)
Message-ID: <5320A22C.20006@gmail.com>
Date: Wed, 12 Mar 2014 19:06:36 +0100
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: fltk check or enum quest
X-IsSubscribed: yes

--------------020303060205020400060309
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit

I am hitting a gcc/fltk craziness, and I have no clue what to look for.

The attached example is extracted from octave configure log,
and I am almost sure that nor the test nor the fltk header
are changed at all recently.

Could someone with libfltk-devel installed try

$ . ./conftest.sh

my current result is:
--------------------------------------
In file included from /usr/include/FL/gl.h:45:0,
                  from conftest.c:2:
/usr/include/FL/Enumerations.H:525:1: error: unknown type name ‘Fl_Boxtype’
  extern FL_EXPORT Fl_Boxtype fl_define_FL_ROUND_UP_BOX();
  ^
/usr/include/FL/Enumerations.H:528:1: error: unknown type name ‘Fl_Boxtype’
  extern FL_EXPORT Fl_Boxtype fl_define_FL_SHADOW_BOX();
-------------------------------------------

but Fl_Boxtype is defined as enum type on the same file

    /usr/include/FL/Enumerations.H

at line 473.

What I am missing ?

Thanks in advance
Marco


--------------020303060205020400060309
Content-Type: text/plain; charset=windows-1252;
 name="conftest.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="conftest.c"


#include <FL/gl.h>

#  ifdef __cplusplus
     extern "C"
#  endif

int
main ()
{

        int nothing = 0;

  ;
  return 0;
}


--------------020303060205020400060309
Content-Type: text/plain; charset=windows-1252;
 name="conftest.sh"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="conftest.sh"

gcc -c -ggdb -O2 -Wimplicit-function-declaration  -ggdb -O2 -pipe -Wimplicit-function-declaration  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT  conftest.c -o conftest.o


--------------020303060205020400060309
Content-Type: text/plain; charset=us-ascii

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
--------------020303060205020400060309--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019