Pages: 1 2 »
  Print  
Author Topic: Missed one.  (Read 3977 times)
Online  (Male) Josh @ Dreamland
Posted on: January 11, 2010, 12:43:54 AM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2949

View Profile Email
  template<typename _Value>
    const _Value __numeric_traits_integer<_Value>::__min;

Should have seen that coming, really.
Errors it's trying to redeclare that, because the next token is that evil '<'.
Basically, it should just access the instantiation for that type immediately in this case, since it's already declared and all. I'll have to add a check for that come ';', but it'll be fine...

It's 01:00 and I've class tomorrow at some point. Don't worry though, it's an easy enough fix. I'm finally done with those stupid type_trait headers. ^_^

Will edit with results after this file is cleared. (Gave it a quick lookover, seems to be the only error I'll find in it).

Peace.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Post made January 11, 2010, 10:08:15 AM was deleted at the author's request.
Online  (Male) Josh @ Dreamland
Reply #2 Posted on: January 11, 2010, 12:32:57 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2949

View Profile Email
Update:
I've fixed that and have moved on. Fixed defaulting constants based on enums in templated types, as well. Created __typeof__, which I believe always returns an atomic type, so I can just define it as int or double. I will be looking into that now.

Fede--
Always closer. Just wish I had an estimate on number of lines left to make it through.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) RetroX
Reply #3 Posted on: January 11, 2010, 09:01:50 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
By the way, we should see who has the oldest computer and run it on that and see how long it takes, and then take the person with the fastest computer and run it on that.  Just for an incredibly unbiased and awesome benchmark mostly for lol.
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Unknown gender) freezway
Reply #4 Posted on: January 11, 2010, 09:06:53 PM

Member
Joined: Dec 2009
Posts: 220

View Profile
I have an old PIII with 512 MB ram, nvidia TNT gfx
 and an old mac, powerpc, 600MHz 384MB ram
Logged
if you drop a cat with buttered toast strapped to its back, which side lands down?
joshdreamland: our languages are based on the idea that it's going to end up FUBAR
/kick retep998
Offline (Male) RetroX
Reply #5 Posted on: January 11, 2010, 09:19:16 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
I have a Phenom II X4 3.4GHz with 4GB of RAM for the fastest (someone here will have an i7; just wait).
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Male) Rusky
Reply #6 Posted on: January 12, 2010, 08:50:36 AM

Resident Troll
Joined: Feb 2008
Posts: 955
MSN Messenger - rpjohnst@gmail.com
View Profile WWW Email
I know someone with an i7, anyway. :P
Logged
Offline (Male) kkg
Reply #7 Posted on: January 12, 2010, 11:53:24 AM

Member
Location: Australia
Joined: Nov 2009
Posts: 84
MSN Messenger - kamikazigames@gmail.com
View Profile Email
We can use my dad's machine for fastest:

Core i7 920
12gb DDR3 1336
GTX295


uhm if you guys want i can probably assemble a PC out of spare parts. Think I got one of those old as P2 machines (the ones that had those duel fans on them LOL), a TnT vid card and something like 64 mb of ram. I'll have to go have a l00ksies

Keep up the good work Josh :3
Logged
PC: Core i7-2600 @ 3.8ghz | 4x 4gb G.Skill RipjawZ DDR3-2000 | GTX580 | Win7 x64
Time is the greatest teacher, however it kills every single one of its pupils.
Offline (Unknown gender) MrJackSparrow2
Reply #8 Posted on: January 14, 2010, 01:50:00 AM
Member
Joined: Apr 2008
Posts: 35

View Profile Email
Does Josh have two accounts, or do we have an imposter? Look at the names of the Josh's in this topic...
Logged
Offline (Unknown gender) score_under
Reply #9 Posted on: January 14, 2010, 01:49:19 PM

Member
Joined: Aug 2008
Posts: 308

View Profile
The "." account is his school account, as it's a well known fact that schools use keyloggers at every opportunity.

Gives the admins power trips, you see. The same kind of power trip my school admin got from systematically disabling the "new window" command on all copies of internet explorer in the school then setting up a program to end any process that owns a window with "firefox" in the title.
Logged
Offline (Unknown gender) luiscubal
Reply #10 Posted on: January 14, 2010, 04:42:50 PM
Member
Joined: Jun 2009
Posts: 452

View Profile Email
@score_under: Use Minefield then.
Logged
Offline (Unknown gender) score_under
Reply #11 Posted on: January 14, 2010, 05:03:27 PM

Member
Joined: Aug 2008
Posts: 308

View Profile
@score_under: Use Minefield then.
1. Blocks "Mozilla" too, 2. Both homepages have "mozilla" in the title.

3. I wrote a program in ASM to search all window titles for a certain set of strings and "censor" it before the software can find it - the software's timeout is set to about a second, so plenty of time.
Logged
Offline (Male) RetroX
Reply #12 Posted on: January 14, 2010, 05:45:37 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
The same kind of power trip my school admin got from systematically disabling the "new window" command on all copies of internet explorer in the school then setting up a program to end any process that owns a window with "firefox" in the title.
What the fuck.
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Unknown gender) score_under
Reply #13 Posted on: January 14, 2010, 05:50:13 PM

Member
Joined: Aug 2008
Posts: 308

View Profile
The same kind of power trip my school admin got from systematically disabling the "new window" command on all copies of internet explorer in the school then setting up a program to end any process that owns a window with "firefox" in the title.
What the fuck.
He's either really bad with computers or really good at trolling.
Logged
Offline (Male) RetroX
Reply #14 Posted on: January 14, 2010, 09:28:23 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
The same kind of power trip my school admin got from systematically disabling the "new window" command on all copies of internet explorer in the school then setting up a program to end any process that owns a window with "firefox" in the title.
What the fuck.
He's either really bad with computers or really good at trolling.
No, I mean, the only person who would know enough about computers to do that and want to do that would be a microsoft employee

or an operafag
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Pages: 1 2 »
  Print