Error in compiling - General Discussion and Assistance - CHDK Forum

Error in compiling

  • 4 Replies
  • 3964 Views
*

Offline blackhole

  • *****
  • 946
  • A590IS 101b
    • Planetary astrophotography
Error in compiling
« on: 23 / June / 2013, 09:54:50 »
Advertisements
I cannot compile from the revision trunk2879 onwards,for a590 101b.
CHDK Shell v.3.43a-GCC 4.5.1
Error message:
========== D:\CHDK\SHELL\TRUNK\TRUNK2879\BIN\LOGS\ERR-A590-101B.TXT ==========

firmware_load.c: In function `load_firmware':
firmware_load.c:835: warning: left-hand operand of comma expression has no effect

Revision trunk2877 works well.
Does anyone know what the problem is?

Re: Error in compiling
« Reply #1 on: 23 / June / 2013, 10:28:30 »
I cannot compile from the revision trunk2879 onwards,for a590 101b.
CHDK Shell v.3.43a-GCC 4.5.1
Error message:
========== D:\CHDK\SHELL\TRUNK\TRUNK2879\BIN\LOGS\ERR-A590-101B.TXT ==========

firmware_load.c: In function `load_firmware':
firmware_load.c:835: warning: left-hand operand of comma expression has no effect

Revision trunk2877 works well.
Does anyone know what the problem is?
Likely related to philmoz's recent work on his new porting tool code.  I guess whim will need to take a look.

Might have been better if you'd posted this here :  http://chdk.setepontos.com/index.php?topic=845.0

I'm guessing whim gets automatic email notification of anything posted in that thread.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline blackhole

  • *****
  • 946
  • A590IS 101b
    • Planetary astrophotography
Re: Error in compiling
« Reply #2 on: 23 / June / 2013, 10:57:20 »
Quote
Might have been better if you'd posted this here :  http://chdk.setepontos.com/index.php?topic=845.0
Yeah you're right, thanks.
 I will add this and there.
Sorry for the multiple posting.

Re: Error in compiling
« Reply #3 on: 23 / June / 2013, 11:06:47 »
Sorry for the multiple posting.
No problem - this is a lot different that when people post multiple times before waiting for an answer to their first post.   Maybe philmoz or acseven will just delete this thread.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Online msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Error in compiling
« Reply #4 on: 23 / June / 2013, 11:20:08 »

Might have been better if you'd posted this here :  http://chdk.setepontos.com/index.php?topic=845.0

I think this is not a CHDK shell issue. It is more a source code problem related to Phil's porting tool: http://chdk.setepontos.com/index.php?topic=10098.0

The CHDK shell works, But there is warning output:
Code: [Select]
firmware_load.c:835: warning: left-hand operand of comma expression has no effect
msl
CHDK-DE:  CHDK-DE links

 

Related Topics


SimplePortal © 2008-2014, SimplePortal