[Issue 6291] Warn on likely hex literal bug

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 11 21:30:22 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6291


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2011-07-11 21:25:13 PDT ---
*correction*

I just saw my git commit, the code was:

enum PaSampleFormat paFloat32 = 0x00000001;
-enum PaSampleFormat paInt32 = 0x00000002;
-enum PaSampleFormat paInt24 = 0x00000004;
-enum PaSampleFormat paInt16 = 0x00000008;
-enum PaSampleFormat paInt8 = 0x000000010;
-enum PaSampleFormat paUInt8 = 0x00000020;
-enum PaSampleFormat paCustomFormat = 0x00010000;
-enum PaSampleFormat paNonInterleaved = 0x80000000;

So I actually spotted the bug *after* I added the underscores. Heh, I guess
this isn't an enhancement request but just a heads up for using underscores,
it's a great feature. I'm closing this down.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list