>>>>>avr-gcc --version
avr-gcc (GCC) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


>>>>>avr-g++ --version
avr-g++ (GCC) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


>>>>>avr-g++ -c -mmcu=atmega128rfa1 -pedantic -Wall -o weg.o weg.c
weg.c: In function 'int main()':
weg.c:3:20: warning: left operand of comma operator has no effect [-Wunused-value]
 #   define  ADTS1  1
                    ^
weg.c:15:48: note: in expansion of macro 'ADTS1'
   (*(volatile uint8_t *)(0x7B))&=~(1<<ADTS2,1<<ADTS1,1<<ADTS0);
                                                ^
weg.c:4:20: warning: right operand of comma operator has no effect [-Wunused-value]
 #   define  ADTS0  0
                    ^
weg.c:15:57: note: in expansion of macro 'ADTS0'
   (*(volatile uint8_t *)(0x7B))&=~(1<<ADTS2,1<<ADTS1,1<<ADTS0);
                                                         ^
weg.c:3:20: warning: left operand of comma operator has no effect [-Wunused-value]
 #   define  ADTS1  1
                    ^
weg.c:18:21: note: in expansion of macro 'ADTS1'
   mm&=~(1<<ADTS2,1<<ADTS1,1<<ADTS0);
                     ^
weg.c:4:20: warning: right operand of comma operator has no effect [-Wunused-value]
 #   define  ADTS0  0
                    ^
weg.c:18:30: note: in expansion of macro 'ADTS0'
   mm&=~(1<<ADTS2,1<<ADTS1,1<<ADTS0);
                              ^


>>>>>avr-gcc -c -mmcu=atmega128rfa1 -pedantic -Wall -o weg.o weg.c
weg.c: In function 'main':
weg.c:14:3: warning: C++ style comments are not allowed in ISO C90
   // ADCSRB&=~(1<<ADTS2,1<<ADTS1,1<<ADTS0);
   ^
weg.c:14:3: warning: (this will be reported only once per input file)
weg.c:15:44: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   (*(volatile uint8_t *)(0x7B))&=~(1<<ADTS2,1<<ADTS1,1<<ADTS0);
                                            ^
weg.c:15:53: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   (*(volatile uint8_t *)(0x7B))&=~(1<<ADTS2,1<<ADTS1,1<<ADTS0);
                                                     ^
weg.c:17:3: warning: ISO C90 forbids mixed declarations and code [-Wpedantic]
   int mm=0;
   ^
weg.c:18:17: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   mm&=~(1<<ADTS2,1<<ADTS1,1<<ADTS0);
                 ^
weg.c:18:26: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   mm&=~(1<<ADTS2,1<<ADTS1,1<<ADTS0);
                          ^


>>>>>avr-g++ -c -mmcu=atmega128rfa1 -pedantic -Wall -DAVR_IO=1 -o weg.o weg.c


>>>>>avr-gcc -c -mmcu=atmega128rfa1 -pedantic -Wall -DAVR_IO=1 -o weg.o weg.c
weg.c: In function 'main':
weg.c:14:3: warning: C++ style comments are not allowed in ISO C90
   // ADCSRB&=~(1<<ADTS2,1<<ADTS1,1<<ADTS0);
   ^
weg.c:14:3: warning: (this will be reported only once per input file)
weg.c:15:44: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   (*(volatile uint8_t *)(0x7B))&=~(1<<ADTS2,1<<ADTS1,1<<ADTS0);
                                            ^
weg.c:15:53: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   (*(volatile uint8_t *)(0x7B))&=~(1<<ADTS2,1<<ADTS1,1<<ADTS0);
                                                     ^
weg.c:17:3: warning: ISO C90 forbids mixed declarations and code [-Wpedantic]
   int mm=0;
   ^
weg.c:18:17: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   mm&=~(1<<ADTS2,1<<ADTS1,1<<ADTS0);
                 ^
weg.c:18:26: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   mm&=~(1<<ADTS2,1<<ADTS1,1<<ADTS0);
                          ^
