Opened 12 years ago

Closed 12 years ago

#35632 closed defect (fixed)

fvwm2: configure is not able to compile programs with warnings

Reported by: mzp3769@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: clang Cc:
Port: fvwm2

Description

fails to build

Attachments (1)

main.log (103.1 KB) - added by mzp3769@… 12 years ago.
log of fvwm2 install

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by mzp3769@…

Attachment: main.log added

log of fvwm2 install

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Port: fvwm2 added
Summary: fvwm2 install problemfvwm2: configure is not able to compile programs with warnings

The main.log says:

:info:configure configure is not able to compile programs with warnings.  Please
:info:configure remove all offending options like -Werror from the CFLAGS and
:info:configure CPPFLAGS variables and run configure again."

But of course we're not setting any such flags, and the real error is shown in the config.log:

conftest.c:38:3: error: non-void function 'main' should return a value [-Wreturn-type]
  return;
  ^

So they have a mistake in their configure test, and I guess we'll have to fix it.

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: clang added
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

I guess this test actually is doing what it's designed to do, the only thing the developers did not expect is that a compiler like the version of clang that we're using in MacPorts today would have some warnings on by default. I guess we'll just turn that warning off.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.