2

Author Topic: Compiler warning - Chameleon 2.0 RC5 r617, r618  (Read 5350 times)

0 Members and 1 Guest are viewing this topic.

Gringo Vermelho

  • Forum Moderator
  • Posts: 611
  • The gray monster energy hat
Compiler warning - Chameleon 2.0 RC5 r617, r618
« on: October 28, 2010, 05:28:42 AM »
When compiling Trunk:

acpi_patcher.c: In function 'generate_pss_ssdt':
acpi_patcher.c:498: warning: unused variable 'i'

But.. acpi_patcher.c was only updated in Azi's branch?

svn update
(...)
U    branches/azimutz/Chazi/i386/libsaio/acpi_patcher.c

Trunk only received updates to these:
U    trunk/i386/libsaio/console.c
U    trunk/i386/libsa/zalloc.c
« Last Edit: October 28, 2010, 05:36:33 AM by Gringo Vermelho »
10.9.5 - ASUS P8Z77-V Pro - i5 3570K - GTX 660 - Chameleon 2.3 svn-r2xxx
How to...
Install Chameleon: http://forum.voodooprojects.org/index.php/topic,649
Make your own Chameleon boot CD: http://forum.voodooprojects.org/index.php/topic,484.msg2131.html#msg2131

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Compiler warning - Chameleon 2.0 RC5 r617, r618
« Reply #1 on: October 28, 2010, 10:51:21 AM »
I've just tried it, and yes I see it too:
Code: [Select]
acpi_patcher.c: In function ‘generate_pss_ssdt’:
acpi_patcher.c:498: warning: unused variable ‘i’

The last change I can see to acpi_pacther.c in the trunk was commit 609. Could that be anything to do with it?
« Last Edit: October 28, 2010, 10:55:22 AM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

cparm

  • Observer
  • Posts: 12
Re: Compiler warning - Chameleon 2.0 RC5 r617, r618
« Reply #2 on: October 28, 2010, 03:29:59 PM »
hi, i think it was just a little mistake  from mozo,

in acpi_patcher.c go to line 498,
you will see => "uint8_t i;"
delete it,

re-compile the project,

et voila  :)

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Re: Compiler warning - Chameleon 2.0 RC5 r617, r618
« Reply #3 on: October 28, 2010, 10:44:16 PM »
Yep.. Mozo just didn't noticed the warning.. it's not a big deal. I'll give him a "call" :)
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Compiler warning - Chameleon 2.0 RC5 r617, r618
« Reply #4 on: October 29, 2010, 05:46:57 PM »
Thanks for the confirmation cparm.
Hey Azi - Thanks :)
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB