Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#33500 closed defect (fixed)

sdcv: build failed with clang

Reported by: obartunov@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: clang Cc:
Port: sdcv

Description

port install sdcv failed on my macbook air, Xcode 4.0.3, Lion 10.7

make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_sdcv/sdcv/work/trunk/src'
/usr/bin/clang++ -DLOCALEDIR=\"/opt/local/share/locale\" -DHAVE_CONFIG_H -I. -I.. -Wall -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include    -I.. -Ilib  -I/opt/local/include  -pipe -O2 -arch x86_64 -MT libwrapper.o -MD -MP -MF .deps/libwrapper.Tpo -c -o libwrapper.o libwrapper.cpp
libwrapper.cpp:212:26: error: variable length array of non-POD element type 'std::vector<gchar *>'
        std::vector<gchar *> drl[ndicts()];
                                ^

Attachments (1)

main.log (41.3 KB) - added by obartunov@… 12 years ago.

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by obartunov@…

Attachment: main.log added

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Cc: obartunov@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: sdcv added

In the future, please fill in the Port field, Cc the maintainer(s) but you do not need to Cc yourself.

I assume you mean Xcode 4.3 in the description?

comment:2 in reply to:  1 Changed 12 years ago by obartunov@…

Replying to macsforever2000@…:

In the future, please fill in the Port field, Cc the maintainer(s) but you do not need to Cc yourself.

I assume you mean Xcode 4.3 in the description

Yes, Xcode 4.3

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

Could be a clang issue. Try using a different compiler.

comment:4 Changed 12 years ago by obartunov@…

thanks, different computer works.

port install sdcv  configure.compiler=llvm-gcc-4.2

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

Resolution: fixed
Status: newclosed

Thanks. r90562

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

Keywords: clang added
Summary: sdcv build failed Xcode 4.3 Lion 10.7sdcv: build failed with clang
Note: See TracTickets for help on using tickets.