Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: stevefal on March 21, 2014, 03:20:32 AM

Title: Building dual_iso
Post by: stevefal on March 21, 2014, 03:20:32 AM
Any idea the issue here?

Quotefalconmacbook::steve [modules]$ make

Building module raw_rec...

Building module mlv_rec...

Building module mlv_play...

Building module mlv_snd...

Building module file_man...

Building module dual_iso...
REBUILDING
[ README   ]   module_strings.h
[ CC       ]   dual_iso.o
[ MODULE   ]   dual_iso.mo
[ STRIP    ]   dual_iso.mo
[ EXPORTS  ]   dual_iso.sym
00001368 dual_iso_calc_dr_improvement
000013c0 dual_iso_is_enabled
000013e0 dual_iso_get_dr_improvement
00001560 dual_iso_get_recovery_iso
00001580 dual_iso_set_recovery_iso
[ DEPENDS  ]   dual_iso.dep
Will load on:
    5D3
Not checked (compile ML for these cameras first):
    1100D, 500D, 50D, 550D, 5D2, 600D, 60D, 650D, 6D, 700D, 7D, EOSM
[ gcc      ]   cr2hdr
clang: error: unknown argument: '-mno-ms-bitfields' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make[3]: *** [cr2hdr] Error 1

********************************************************
WARNING: module dual_iso failed to build, deleting
********************************************************

[ RM ]  dual_iso.o dual_iso.mo dual_iso.sym dual_iso.dep module_strings.h *.o *.d *.dep *.sym hgstamp
[ RM ]  cr2hdr cr2hdr.exe
Title: Re: Building dual_iso
Post by: jpaana on March 21, 2014, 09:53:44 AM
New XCode doesn't include GCC anymore and uses Clang in its place, which doesn't recognize this GCC option, but it's not needed either, so you can safely remove it from Makefile.cr2hdr.
Title: Re: Building dual_iso
Post by: stevefal on March 21, 2014, 07:35:33 PM
Quote from: jpaana on March 21, 2014, 09:53:44 AM
New XCode doesn't include GCC anymore and uses Clang in its place, which doesn't recognize this GCC option, but it's not needed either, so you can safely remove it from Makefile.cr2hdr.

It builds with that change. Thanks.