English | Magyar
JS ki | CSS ki | Ékezetek ki | HiContrast
Lapozó:  (0 - 1424) 
<== | ==>
Ugrás a végére | Összes megjelenítése | Utolsó oldal
OpenOpera patches | Opera-SSL patches | Opera 12.15 source (Git repository) | Opera 12.15 source (Torrent) | Opera internal pages | Otter Browser Linux x64 - Qt5.15.2/QtWebKit5.602.1 (2024.04.27. 20:05)
OS for MC680x0 | OS for PPC | OS for Sparc64 | besztofbégéaefcé | CSÉNDZSLOG | WebToolz | DDG Shit Filter | Google Shit Filter | Progz | Fast CSS Box | Browser | OS | Agent | Statisztika | BBCode
Monospace font-family: Courier New | Browser default monospace
Email értesítő / Email notification ===> 
Keresés
Σ: 1 post

TCH  (statz) Főfasz
#1, Főfasz (10443)
1759 | #2c33 | ^ | Idézet | Thu, 01 May 2014 13:30:11 +02
188.36.*.* Linux x86 Opera Classic Hungary *.catv.pool.telekom.hu
GCC vs CLang:
root@Csabi:~/lw/wav28svx# gcc wav28svx.c -O2 -o wav28svx && strip --strip-all wav28svx
root@Csabi:~/lw/wav28svx# clang wav28svx.c -O2 -o wav28svx && strip --strip-all wav28svx
wav28svx.c:261:13: warning: & has lower precedence than !=; != will be evaluated
      first [-Wparentheses]
                                if (cnv & sign[bps] != 0)
                                        ^~~~~~~~~~~~~~~~
                                          (             )
wav28svx.c:261:13: note: place parentheses around the & expression to evaluate
      it first
                                if (cnv & sign[bps] != 0)
                                        ^
                                    (         )
wav28svx.c:270:13: warning: using the result of an assignment as a condition
      without parentheses [-Wparentheses]
                        if (dpos = 16384)
                            ~~~~~^~~~~~~
                            (           )
wav28svx.c:270:13: note: use '==' to turn this assignment into an equality
      comparison
                        if (dpos = 16384)
                                 ^
                                 ==
4 diagnostics generated.
A GCC szó nélkül lefordította, a CLang meg felhívta a figyelmem két olyan hibára is, ami szétbaszta volna a programot. Az egyenlőségjel még csakcsak kiszúrható, ha az ember tüzetesebben nézi a kódot, viszont a másik az sok időnyi debugba került volna, főleg mivel ez eszébe sem jut az embernek, hogy egy bináris operátor alacsonyabbrendű, mint egy logikai... Tényleg ezt magyarázza már el valaki, hogy C-ben egy bináris operátornak miért kisebb a prioritása, mint egy logikainak?


English | Magyar
JS ki | CSS ki | Ékezetek ki | HiContrast
Lapozó:  (0 - 1424) 
<== | ==>
Ugrás a végére | Összes megjelenítése | Utolsó oldal
OpenOpera patches | Opera-SSL patches | Opera 12.15 source (Git repository) | Opera 12.15 source (Torrent) | Opera internal pages | Otter Browser Linux x64 - Qt5.15.2/QtWebKit5.602.1 (2024.04.27. 20:05)
OS for MC680x0 | OS for PPC | OS for Sparc64 | besztofbégéaefcé | CSÉNDZSLOG | WebToolz | DDG Shit Filter | Google Shit Filter | Progz | Fast CSS Box | Browser | OS | Agent | Statisztika | BBCode
Monospace font-family: Courier New | Browser default monospace
Email értesítő / Email notification ===> 
Keresés

Név: (max 255 byte)

Email: (max 255 byte) Nem kötelező!

Üzenet: (max 65536 kar.) 65536-0=65536




crap_vkn v4.34.0 by TCH
Thx to saxus for the escaped string decoder function (PHP), the realIP function (PHP) & the SQL handle layer (PHP), to thookerov for the int_divide function (PHP), to Jeff Anderson for the getSelText function (JS), to Alex King for the insertAtCursor function (JS), Flood3r for the new CSS styles, Pety for the spamprotection idea and some design and comfort ideas, MaxMind for the IP2Country database, famfamfam for the flags of countries and an unknown PHP programmer for the removeAccents function.



Kecskebaszók ide!