Torna indietro   Hardware Upgrade Forum > Software > Programmazione

Roborock Qrevo Curv 2 Flow: ora lava con un rullo
Roborock Qrevo Curv 2 Flow: ora lava con un rullo
Qrevo Curv 2 Flow è l'ultima novità di casa Roborock per la pulizia di casa: un robot completo, forte di un sistema di lavaggio dei pavimenti basato su rullo che si estende a seguire il profilo delle pareti abbinato ad un potente motore di aspirazione con doppia spazzola laterale
Alpine A290 alla prova: un'auto bella che ti fa innamorare, con qualche limite
Alpine A290 alla prova: un'auto bella che ti fa innamorare, con qualche limite
Abbiamo guidato per diversi giorni la Alpine A290, la prima elettrica del nuovo corso della marca. Non è solo una Renault 5 sotto steroidi, ha una sua identità e vuole farsi guidare
Recensione HONOR Magic 8 Lite: lo smartphone indistruttibile e instancabile
Recensione HONOR Magic 8 Lite: lo smartphone indistruttibile e instancabile
Abbiamo provato a fondo il nuovo Magic 8 Lite di HONOR, e per farlo siamo volati fino a Marrakech , dove abbiamo testato la resistenza di questo smartphone in ogni condizione possibile ed immaginabile. Il risultato? Uno smartphone praticamente indistruttibile e con un'autonomia davvero ottima. Ma c'è molto altro da sapere su Magic 8 Lite, ve lo raccontiamo in questa recensione completa.
Tutti gli articoli Tutte le news

Vai al Forum
Rispondi
 
Strumenti
Old 28-08-2011, 10:18   #1
andros94
Member
 
Iscritto dal: Feb 2010
Messaggi: 57
[C] errori codeblocks

usanco code blocks e compilando un sorgente in c trovato in rete ma ricevo questi errori :

||warning: command line option "-std=c++0x" is valid for C++/ObjC++ but not for C|
||warning: command line option "-std=c++98" is valid for C++/ObjC++ but not for C|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnt.h|366|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WCHAR'|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnt.h|367|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnt.h|368|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WCHAR'|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnt.h|369|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnt.h|430|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CHAR'|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnt.h|431|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnt.h|475|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PNZTCH'|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnt.h|476|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PCNZTCH'|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnt.h|851|error: #error Must define a target architecture.|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnt.h|1202|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnt.h|1205|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'EXCEPTION_ROUTINE'|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnt.h|1212|error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnt.h|12880|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnt.h|13305|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winbase.h|2936|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winbase.h|2939|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winbase.h|2942|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winbase.h|3054|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winbase.h|3057|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winbase.h|3060|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winbase.h|3063|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winuser.h|3183|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnls.h|1381|error: expected declaration specifiers or '...' before 'PCNZCH'|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnls.h|1383|error: expected declaration specifiers or '...' before 'PCNZCH'|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnls.h|1392|error: expected declaration specifiers or '...' before 'PCNZWCH'|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winnls.h|1394|error: expected declaration specifiers or '...' before 'PCNZWCH'|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winreg.h|1243|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winreg.h|1257|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\objbase.h|865|error: pasting "(" and "__drv_nop" does not give a valid preprocessing token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\oaidl.h|445|error: pasting "/" and "/" does not give a valid preprocessing token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\oaidl.h|445|error: expected specifier-qualifier-list before '/' token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\oaidl.h|460|error: pasting "/" and "/" does not give a valid preprocessing token|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\propidl.h|638|error: array type has incomplete element type|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\propidl.h|644|error: array type has incomplete element type|
C:\Users\utente\Desktop\codeblock\pl\main.c||In function 'hook':|
C:\Users\utente\Desktop\codeblock\pl\main.c|54|warning: pointer targets in passing argument 1 of 'GetWindowsDirectoryA' differ in signedness|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winbase.h|8735|note: expected 'LPSTR' but argument is of type 'unsigned char *'|
C:\Users\utente\Desktop\codeblock\pl\main.c|55|warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\stdio.h|262|note: expected 'char *' but argument is of type 'unsigned char *'|
C:\Users\utente\Desktop\codeblock\pl\main.c|56|warning: pointer targets in passing argument 1 of 'fopen' differ in signedness|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\stdio.h|169|note: expected 'const char *' but argument is of type 'unsigned char *'|
C:\Users\utente\Desktop\codeblock\pl\main.c|59|warning: pointer targets in passing argument 2 of 'CopyFileA' differ in signedness|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winbase.h|9770|note: expected 'LPCSTR' but argument is of type 'unsigned char *'|
C:\Users\utente\Desktop\codeblock\pl\main.c|61|warning: pointer targets in passing argument 3 of 'ShellExecuteA' differ in signedness|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\shellapi.h|71|note: expected 'LPCSTR' but argument is of type 'unsigned char *'|
C:\Users\utente\Desktop\codeblock\pl\main.c|67|warning: pointer targets in passing argument 5 of 'RegSetValueExA' differ in signedness|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winreg.h|936|note: expected 'const BYTE *' but argument is of type 'char *'|
C:\Users\utente\Desktop\codeblock\pl\main.c||In function 'ItsTheTime':|
C:\Users\utente\Desktop\codeblock\pl\main.c|94|warning: implicit declaration of function 'FirstSession'|
C:\Users\utente\Desktop\codeblock\pl\main.c||In function 'FirstSession':|
C:\Users\utente\Desktop\codeblock\pl\main.c|112|warning: pointer targets in passing argument 1 of 'fopen' differ in signedness|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\stdio.h|169|note: expected 'const char *' but argument is of type 'unsigned char *'|
C:\Users\utente\Desktop\codeblock\pl\main.c||In function 'SessionLoad':|
C:\Users\utente\Desktop\codeblock\pl\main.c|169|warning: pointer targets in passing argument 1 of 'fopen' differ in signedness|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\stdio.h|169|note: expected 'const char *' but argument is of type 'unsigned char *'|
C:\Users\utente\Desktop\codeblock\pl\main.c|173|warning: comparison between signed and unsigned integer expressions|
C:\Users\utente\Desktop\codeblock\pl\main.c||In function 'SessionDelete':|
C:\Users\utente\Desktop\codeblock\pl\main.c|194|warning: pointer targets in passing argument 1 of 'fopen' differ in signedness|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\stdio.h|169|note: expected 'const char *' but argument is of type 'unsigned char *'|
C:\Users\utente\Desktop\codeblock\pl\main.c||In function 'smtp':|
C:\Users\utente\Desktop\codeblock\pl\main.c|260|warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\winsock.h|855|note: expected 'const char *' but argument is of type 'unsigned char *'|
C:\Users\utente\Desktop\codeblock\pl\main.c|274|warning: pointer targets in passing argument 1 of 'atoi' differ in signedness|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\stdlib.h|304|note: expected 'const char *' but argument is of type 'unsigned char *'|
C:\Users\utente\Desktop\codeblock\pl\main.c|281|warning: pointer targets in passing argument 1 of 'receivedata' differ in signedness|
C:\Users\utente\Desktop\codeblock\pl\main.c|228|note: expected 'char *' but argument is of type 'unsigned char *'|
C:\Users\utente\Desktop\codeblock\pl\main.c|282|warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\stdio.h|262|note: expected 'char *' but argument is of type 'unsigned char *'|
C:\Users\utente\Desktop\codeblock\pl\main.c|283|warning: pointer targets in passing argument 1 of 'strlen' differ in signedness|
c:\mingw\bin\..\lib\gcc\mingw32\4.5.2\..\..\..\..\include\string.h|49|note: expected 'const char *' but argument is of type 'unsigned char *'|
C:\Users\utente\Desktop\codeblock\pl\main.c|283|warning: pointer targets in passing argument 1 of 'senddata' differ in signedness|
C:\Users\utente\Desktop\codeblock\pl\main.c|208|note: expected 'char *' but argument is of type 'unsigned char *'|
C:\Users\utente\Desktop\codeblock\pl\main.c|284|warning: pointer targets in passing argument 1 of 'receivedata' differ in signedness|
C:\Users\utente\Desktop\codeblock\pl\main.c|228|note: expected 'char *' but argument is of type 'unsigned char *'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 20 warnings ===|



nel codice sono incluusi questi file
#include<windows.h>
#include<winsock.h>

sinceramente non capisco il significato di questi errori...

Ultima modifica di andros94 : 28-08-2011 alle 11:39.
andros94 è offline   Rispondi citando il messaggio o parte di esso
Old 30-08-2011, 16:17   #2
andros94
Member
 
Iscritto dal: Feb 2010
Messaggi: 57
up
andros94 è offline   Rispondi citando il messaggio o parte di esso
Old 30-08-2011, 16:27   #3
AnonimoVeneziano
Senior Member
 
L'Avatar di AnonimoVeneziano
 
Iscritto dal: Aug 2001
Città: San Francisco, CA, USA
Messaggi: 13827
Mmm, se provi a compilarlo come un file c++ ti da gli stessi errori?
__________________
GPU Compiler Engineer
AnonimoVeneziano è offline   Rispondi citando il messaggio o parte di esso
Old 31-08-2011, 16:15   #4
andros94
Member
 
Iscritto dal: Feb 2010
Messaggi: 57
diversi, ma sempre riferiti agli stessi file
andros94 è offline   Rispondi citando il messaggio o parte di esso
Old 31-08-2011, 16:25   #5
Freaxxx
Senior Member
 
L'Avatar di Freaxxx
 
Iscritto dal: Dec 2006
Messaggi: 3808
compila da riga di comando usando gcc con la flag verbose attivata

Ultima modifica di Freaxxx : 31-08-2011 alle 17:01.
Freaxxx è offline   Rispondi citando il messaggio o parte di esso
 Rispondi


Roborock Qrevo Curv 2 Flow: ora lava con un rullo Roborock Qrevo Curv 2 Flow: ora lava con un rull...
Alpine A290 alla prova: un'auto bella che ti fa innamorare, con qualche limite Alpine A290 alla prova: un'auto bella che ti fa ...
Recensione HONOR Magic 8 Lite: lo smartphone indistruttibile e instancabile Recensione HONOR Magic 8 Lite: lo smartphone ind...
Sony WF-1000X M6: le cuffie in-ear di riferimento migliorano ancora Sony WF-1000X M6: le cuffie in-ear di riferiment...
Snowflake porta l'IA dove sono i dati, anche grazie a un accordo con OpenAI Snowflake porta l'IA dove sono i dati, anche gra...
Terremoto sui dazi USA: la Corte Suprema...
Arianespace potrebbe lanciare il primo r...
Google Pixel 10a disponibile al prezzo m...
Microsoft Copilot nei guai: email riserv...
AOC a 399€ su Amazon: QD-OLED 240 Hz e 0...
La Cina ha recuperato dal mare il primo ...
Boeing CST-100 Starliner: la NASA rende ...
hiop e TaDa uniscono le forze per trasfo...
Thermal Grizzly mostra il Ryzen 7 9850X3...
AMD Ryzen 'Olympic Ridge' Zen 6 per desk...
Donald Trump renderà pubbliche in...
Prezzo mai visto da mesi: ECOVACS DEEBOT...
Non solo S26, Samsung sta per lanciare a...
Windows 11 avrà a breve uno Speed...
Ask Intel: l'assistente IA che ti aiuta ...
Chromium
GPU-Z
OCCT
LibreOffice Portable
Opera One Portable
Opera One 106
CCleaner Portable
CCleaner Standard
Cpu-Z
Driver NVIDIA GeForce 546.65 WHQL
SmartFTP
Trillian
Google Chrome Portable
Google Chrome 120
VirtualBox
Tutti gli articoli Tutte le news Tutti i download

Strumenti

Regole
Non Puoi aprire nuove discussioni
Non Puoi rispondere ai messaggi
Non Puoi allegare file
Non Puoi modificare i tuoi messaggi

Il codice vB è On
Le Faccine sono On
Il codice [IMG] è On
Il codice HTML è Off
Vai al Forum


Tutti gli orari sono GMT +1. Ora sono le: 07:50.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Served by www3v