sameroom
[x86corez] suman: Good day to you
sameroom
[suman] Thanks buddy.. how u doin?
sameroom
[RosKGB] 03Hermès Bélusca-Maïto 05master 19b18ce 06reactos 10subsystems/mvdm/ 10(5 files in 3 dirs) [MVDM] Update some of the file headers to their new versions. * 14https://git.reactos.org/?p=reactos.git;a=commitdiff;h=19b18ce
sameroom
[RosKGB] 03Eric Kohl 05master c177f3d 06reactos 10dll/win32/devmgr/ 10(26 files in 3 dirs) [devmgr] Partially implement additional buttons on driver page * 14https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c177f3d
sameroom
[hbelusca] !bc 0x0000000a
sameroom
[hTechBot] KeBugCheck( IRQL_NOT_LESS_OR_EQUAL );
sameroom
[RosKGB] 03Bișoc George 05master c9cda4c 06reactos 10base/applications/mplay32/lang/it-IT.rc [TRANSLATION][MPLAY32] Italian update translation (#448) * 14https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c9cda4c
sameroom
[RosKGB] 03Li Keqing 05master 2760e01 06rapps-db 10(154 files) [RAPPS-DB] Update Simplified Chinese Translations (#19) * 14https://git.reactos.org/?p=rapps-db.git;a=commitdiff;h=2760e01
sameroom
[eersoy93] Hi!
sameroom
[eersoy93] I have a question.
sameroom
[eersoy93] What GCC parameters used for building ROS?
sameroom
[ThFabba] Many
sameroom
[ThFabba] You can see them using ninja -v
sameroom
[eersoy93] How can I get them...
sameroom
[eersoy93] Ok.
D͛̕í̓g͛͛i ̋̆t̔͊ ͌̃a͗̐l̂͠S̍̾ ̅͆p̓͞i͆̈́ ̧̀r͌͞ḯ͂t̉̽
gcc modded
sameroom
[eersoy93] What C standard used for building ROS on GCC and MSVC?
sameroom
[eersoy93] I'm studying Win32 but MSVC and MinGW programs are different with same code.
sameroom
[hbelusca] [18:18:44] <eersoy93> I'm studying Win32 but MSVC and MinGW programs are different with same code. <-- for example...?
sameroom
[eersoy93] hbelusca: http://winprog.org/tutorial/start.html
sameroom
[eersoy93] First code.
sameroom
[eersoy93] :)
sameroom
[ThFabba] What about it?
sameroom
[eersoy93] My MSVC code: https://hastebin.com/wejavedawe.py
sameroom
[eersoy93] My MinGW code: https://hastebin.com/qayebuxidu.cpp
sameroom
[ThFabba] What?
sameroom
[eersoy93] And MSVC code file encoded with CP1254, MinGW code file encoded with UTF-8 without BOM.
sameroom
[x86corez] I see here style differences and message box caption
sameroom
[ThFabba] Yes, as a general rule C source files should be plain ASCII
sameroom
[RosKGB] 03Pierre Schweitzer 05master ffd5242 06reactos 10ntoskrnl/cc/view.c [NTOSKRNL] Properly delete VACB in CcRosCreateVacb() when mapping fails. * 14https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ffd5242
sameroom
[ThFabba] You can however tell MSVC to use a specified code page with a #pragma directive
sameroom
[eersoy93] MSVC views Turkish characters correctly, but MinGW views Turkish characters with 2 character.
sameroom
[ThFabba] C doesn't specify what encoding the compiler uses
sameroom
[ThFabba] So the only way to be portable is to use plain ASCII
sameroom
[ThFabba] That's one of the reasons why non-ASCII strings belong in resource files
sameroom
[ThFabba] There are ways to make it work, if you really need to. But they are compiler-specific.
sameroom
[ThFabba] First of all you shouldn't use 'u' as a prefix for strings
sameroom
[ThFabba] Then you should call explicit wide char functions to make your code independent of system code page. I.e. use MessageBoxW and prefix your string with an L instead of the u
sameroom
[eersoy93] ThFabba: Which encoding used in ROS source code? (.c files etc.)
sameroom
[ThFabba] ASCII
sameroom
[ThFabba] There are some exceptions, they tend to be UTF-8
sameroom
[x86corez] this usually happens when comments include non-ASCII characters
sameroom
[ThFabba] After you're using the -W function, you may coax your compiler into understanding your source file's encoding
sameroom
[ThFabba] #pragma code_page(65001)
sameroom
[ThFabba] ^ will tell MSVC to treat the source file as UTF-8
sameroom
[eersoy93] ThFabba: Example, in notepad, main.c is UTF-8 if my editor didn't detect encoding wrongly.
sameroom
[ThFabba] ASCII is UTF-8
sameroom
[ThFabba] From a quick look that file has no special characters in it
sameroom
[ThFabba] Meaning it is ASCII, UTF-8, as well as every single ANSI code page
sameroom
[hbelusca] ascii is contained in utf-8
sameroom
[eersoy93] ThFabba hbelusca: Hmm... And .rc files is UTF-8 without BOM.
sameroom
[eersoy93] Example, Turkish language resource files.
sameroom
[ThFabba] Yes, and they contain pragma directives to tell the compiler what encoding they are
sameroom
[eersoy93] #pragma code_page(65001) is UTF-8. OK.
sameroom
[eersoy93] I understand.
sameroom
[eersoy93] #pragma code_page(65001) doesn't work in my MSVC code.
sameroom
[eersoy93] Message box views Chinese characters.
sameroom
[eersoy93] But when I use 'u' prefix, it works.
sameroom
[eersoy93] But I couldn't use 'u' prefix for MinGW.
sameroom
[eersoy93] I think I should use Notepad++ instead of Geany.
sameroom
[ThFabba] Oh, the pragma doesn't work for C files, only rc apparently
sameroom
[ThFabba] Anyway
sameroom
[ThFabba] Your editor is not the problem. Your approach is
sameroom
[ThFabba] There is no portable way to tell your editor what encoding your source file uses. And with some compilers, there is simply no way at all
Stas'M
Stas'M
OH SHI*
sameroom
Whoops! You've exceeded your daily message limit on this Sameroom account (it will reset in 20 hours and 41 minutes). If you have too many Tubes for your budget, pause or delete some Tubes on the Manage page. If you don t have a subscription, visit pricing to upgrade to unlimited messaging.
Chungy
lol
Alejandro Jeditobe
Rofl
Alejandro Jeditobe
Alejandro Jeditobe
Eris
what the shit
Stas'M
🤣
Eris
this chat's IQ has dropped now, god damn it
Anonymous
Hi
Anonymous
Does Windows load drivers during boot only for the built in drivers, or does it load drivers installed by the user at boot too? OwO
Eris
what
Nicolas
Most messages are from @sameroom_bot now.
Nicolas
Y también están las apps de celulares : https://9to5mac.com/2018/03/20/telegram-encryption-security/